mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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> |
||
|---|---|---|
| .. | ||
| archive.go | ||
| container.go | ||
| container_unit_test.go | ||
| container_unix.go | ||
| container_windows.go | ||
| history.go | ||
| memory_store.go | ||
| memory_store_test.go | ||
| monitor.go | ||
| mounts_unix.go | ||
| mounts_windows.go | ||
| state.go | ||
| state_test.go | ||
| state_unix.go | ||
| state_windows.go | ||
| store.go | ||