1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/container
Zhang Wei 51e42e6ee0 Fix ShouldRestart for on-failure handle
Currently if you restart docker daemon, all the containers with restart
policy `on-failure` regardless of its `RestartCount` will be started,
this will make daemon cost more extra time for restart.

This commit will stop these containers to do unnecessary start on
daemon's restart.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2016-04-10 15:44:47 +08:00
..
archive.go fix typos 2016-03-26 22:06:45 +08:00
container.go Fix ShouldRestart for on-failure handle 2016-04-10 15:44:47 +08:00
container_unit_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
container_unix.go Don't throw error on clenaup ipc mounts if it does not exists 2016-04-06 07:34:31 -04:00
container_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00
history.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00
memory_store.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
memory_store_test.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00
monitor.go daemon: remove some unused code 2016-03-31 11:24:12 -07:00
mounts_unix.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
mounts_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00
state.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
state_test.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
state_unix.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
state_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00
store.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00