moby--moby/container
Yong Tang e66d210891 Add config parameter to change per-container stop timeout during daemon shutdown
This fix tries to add a flag `--stop-timeout` to specify the timeout value
(in seconds) for the container to stop before SIGKILL is issued. If stop timeout
is not specified then the default timeout (10s) is used.

Additional test cases have been added to cover the change.

This fix is related to #22471. Another pull request will add `--shutdown-timeout`
to daemon for #22471.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-10-17 12:28:46 -07:00
..
archive.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
container.go Add config parameter to change per-container stop timeout during daemon shutdown 2016-10-17 12:28:46 -07:00
container_solaris.go Fix missing hostname and links in exec env 2016-09-29 13:46:10 -07:00
container_unit_test.go Add config parameter to change per-container stop timeout during daemon shutdown 2016-10-17 12:28:46 -07:00
container_unix.go Fix missing hostname and links in exec env 2016-09-29 13:46:10 -07:00
container_windows.go Windows: Factor out unused fields in container 2016-10-13 14:51:10 -07:00
health.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
history.go Release memoryStore locks before filter/apply 2016-05-23 11:45:04 -07:00
memory_store.go Release memoryStore locks before filter/apply 2016-05-23 11:45:04 -07:00
memory_store_test.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00
monitor.go *: fix logrus.Warn[f] 2016-06-11 19:42:38 +02: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 Removed unused state functions 2016-09-20 13:09:18 +02:00
state_solaris.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_test.go Removed unused state functions 2016-09-20 13:09:18 +02:00
state_unix.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_windows.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
store.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00