moby--moby/runconfig
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
..
fixtures Move the runconfig.Parse() function into the runconfig/opts package. 2016-01-04 12:06:29 -05:00
opts Add config parameter to change per-container stop timeout during daemon shutdown 2016-10-17 12:28:46 -07:00
compare.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
compare_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
config.go Windows: Support credential specs 2016-10-06 09:32:22 -07:00
config_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
config_unix.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
config_windows.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
errors.go Move errors/ to api/errors 2016-09-16 12:27:13 -04:00
hostconfig.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
hostconfig_solaris.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
hostconfig_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
hostconfig_unix.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
hostconfig_windows.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
streams.go Improve performance/reduce allocs of bytespipe 2016-04-05 13:06:04 -04:00