mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03: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> Upstream-commit: 51e42e6ee01eb4b5c8c7678e2fc7be0f13ef6a68 Component: engine