Commit Graph

24 Commits

Author SHA1 Message Date
eec0335af0 Use UTC for time
Upstream-commit: 806abe90ba38741707f58e98ecdcdd4bc19f52e2
Component: engine
2013-11-21 16:43:36 -08:00
915356af08 Refactor State to be 100% thread safe
Upstream-commit: 33e70864a2c4321bf6968d6d521c159a1b72b220
Component: engine
2013-11-21 16:34:58 -08:00
1ea9ba1de7 fix merge issue and gofmt
Upstream-commit: 89fb51f6063467124c8883399fc293faae8d8ef5
Component: engine
2013-10-25 15:13:25 -07:00
e57f722bf3 Record termination time in state.
Supercedes pull #1946
Upstream-commit: 2eb404ab14ef4b70e101cbb43c124651553de5d2
Component: engine
2013-10-10 14:47:25 -04:00
3cfd5fdb16 Make sure container is not marked as ghost when it starts
Upstream-commit: 91520838fc72f4004d65844b8e57df85473808a1
Component: engine
2013-07-09 10:48:33 -07:00
8f5746f4d9 Mutex style change.
For structs protected by a single mutex, embed the mutex for more
concise usage.

Also use a sync.Mutex directly, rather than a pointer, to avoid the
need for initialization (because a Mutex's zero-value is valid and
ready to be used).
Upstream-commit: 1cf9c80e976fb60b4d5d489cd1c4c9959bcc4f7f
Component: engine
2013-07-02 15:53:08 -07:00
bc6fad489c Create a subpackage for utils
Upstream-commit: 2e69e1727b4d5698a90c24c5800eecd5401dc319
Component: engine
2013-05-14 22:37:35 +00:00
c74dd47b04 Fixed wording of ghost-related messages
Upstream-commit: b1fbebb4a3611d340176ad637a22d2250085a077
Component: engine
2013-04-12 10:39:08 -07:00
c36cca18b4 Detect and mark ghost container.
Upstream-commit: 313d13ea01f58c3e611fb85e435d36dd4907a6ac
Component: engine
2013-04-11 09:26:17 -07:00
fb9222b734 Add inconditionnal lock in Start/Stop/Kill to avoid races
Upstream-commit: 7c2b085d1a1394dc88b0cdf5c9df02ee1c1b2229
Component: engine
2013-04-09 09:09:54 -07:00
b8a98bd6d9 Remove the mutexes and use chan instead in order to handle the wait lock
Upstream-commit: 329f4449dc0f5722150a8160262b817e12be20fc
Component: engine
2013-04-09 07:57:59 -07:00
23a4c38130 Moved resetLock() to the Load() method ; changed resetLock() to initLock() and changed behavior to not modify the lock if it was already set (not nil)
Upstream-commit: d1767bbf672355b9063099d641106dd4ea5303b3
Component: engine
2013-04-03 05:39:39 -07:00
2dc1c74a96 Better crash simulation in TestRestore ; force state lock creation when loading a container from disk
Upstream-commit: 791ca6fde47d26a96134b1715580303ea6cd17ed
Component: engine
2013-04-02 10:06:49 -07:00
3350acc2a3 Moved HumanDuration() to the main package
Upstream-commit: 299d0b2720ad5efee89c11b47d6de51094714164
Component: engine
2013-03-21 00:52:43 -07:00
3f5ac0b977 Simplified the core container API, ported it to the new graph. Some features are missing eg. image 'paths' and tags
Upstream-commit: 7c57a4cfc086b4af68ed9ec7c1b03b934db61f0c
Component: engine
2013-03-21 00:25:00 -07:00
35529bba2c Put back the github.com path for the import
Upstream-commit: 453d49573c91a1c49ffbc54d040145804e38d91e
Component: engine
2013-03-12 11:59:27 -07:00
22687838eb gofmt
Upstream-commit: 45a8bba15e95b789c12a371036aa1ad42357dc08
Component: engine
2013-03-12 05:36:37 -07:00
aee1baf2e0 Add "nuke" function to docker tests to avoid disk space waste
Upstream-commit: e0b09d4933a289da01508039995bd627ff1392df
Component: engine
2013-03-12 00:08:41 -07:00
747cbf0250 'docker ps' prints shorter lines
Upstream-commit: bcfe2aa2a7834eb49790f400192422350ba32cdb
Component: engine
2013-01-29 03:18:07 -08:00
a499fea2e5 go fmt
Upstream-commit: 333abbf85a8db9578e34c340032e32de3c8fefe8
Component: engine
2013-01-28 14:30:05 -08:00
0dd4a9f417 Experimenting with a UI which differentiates images and containers
Upstream-commit: 904b0ab52b065025acbdba6fdc056ef1dff04d44
Component: engine
2013-01-27 15:42:42 -08:00
358dcc8f2a go fmt
Upstream-commit: 73d7265429261029b7e6345821e9efe4ec37b10a
Component: engine
2013-01-22 17:30:37 -08:00
37ddcb4a4a State: Keep track of the container start time
Upstream-commit: 64fc86fba760dd5cb34cd6d9f3ddf13dc3dc4280
Component: engine
2013-01-22 15:03:27 -08:00
5c70746915 Initial commit
Upstream-commit: a27b4b8cb8e838d03a99b6d2b30f76bdaf2f9e5d
Component: engine
2013-01-18 16:13:39 -08:00