mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
51e42e6ee0
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> |
||
---|---|---|
.. | ||
restartmanager.go | ||
restartmanager_test.go |