moby/libcontainerd
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
..
windowsoci Windows: Remove TP4 support from main code 2016-04-06 12:12:20 -07:00
client.go libcontainerd: reuse our pkg/locker 2016-03-29 09:43:12 -07:00
client_linux.go Fix critical bug: can't restart a restarting container 2016-04-08 22:02:30 +08:00
client_liverestore_linux.go Fix typo 2016-04-07 12:46:55 +08:00
client_shutdownrestore_linux.go Fix container mount cleanup issues 2016-03-30 17:25:49 -07:00
client_windows.go Merge pull request #21733 from Microsoft/sjw/updatepending 2016-04-06 15:36:39 -07:00
container.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
container_linux.go Fix ShouldRestart for on-failure handle 2016-04-10 15:44:47 +08:00
container_windows.go Fix ShouldRestart for on-failure handle 2016-04-10 15:44:47 +08:00
pausemonitor_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
process.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
process_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
process_windows.go Windows: Minimal docker top implementation 2016-03-20 16:45:53 -07:00
queue_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
remote.go Fix misspellings 2016-03-28 16:21:02 +03:00
remote_linux.go Clear nofity socket from containerd env 2016-04-01 11:02:14 -07:00
remote_windows.go libcontainerd: reuse our pkg/locker 2016-03-29 09:43:12 -07:00
types.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -07:00
types_linux.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -07:00
types_windows.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -07:00
utils_linux.go Add ulimit support to libcontainerd addprocess 2016-03-23 19:54:32 -07:00
utils_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00