1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
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
..
caps
cluster Merge pull request #26896 from jmzwcn/issue26244 2016-10-11 14:40:39 +02:00
events test: fix trivial code convention noncompliance 2016-09-12 07:36:52 +00:00
exec Add TERM env var to exec 2016-09-12 09:20:27 -07:00
graphdriver Merge pull request #24771 from aquasecurity/xfs_quota 2016-10-17 09:23:42 -07:00
links
logger all: replace loop with single append 2016-10-13 13:31:52 -07:00
network Fix autostart for swarm scope connected containers 2016-09-13 14:21:58 -07:00
apparmor_default.go
apparmor_default_unsupported.go
archive.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
archive_unix.go
archive_windows.go
attach.go Move errors/ to api/errors 2016-09-16 12:27:13 -04:00
auth.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
cache.go Implement build cache based on history array 2016-09-23 11:30:06 -07:00
changes.go
checkpoint.go change-code-and-fix-docs-about-checkpoint 2016-09-23 19:37:43 +08:00
commit.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
config.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
config_experimental.go Convert dockerd to use cobra and pflag 2016-08-25 13:09:03 -04:00
config_solaris.go Convert dockerd to use cobra and pflag 2016-08-25 13:09:03 -04:00
config_stub.go Convert dockerd to use cobra and pflag 2016-08-25 13:09:03 -04:00
config_test.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
config_unix.go daemon: add --userland-proxy-path flag 2016-10-06 17:31:53 +02:00
config_unix_test.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
config_windows.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
config_windows_test.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
container.go Move errors/ to api/errors 2016-09-16 12:27:13 -04:00
container_operations.go Windows: Factor out unused fields in container 2016-10-13 14:51:10 -07:00
container_operations_solaris.go Fixed support for docker compose by allowing connect/disconnect on stopped containers 2016-09-21 13:29:17 -07:00
container_operations_unix.go Merge pull request #27367 from Microsoft/jjh/fieldsincontainer 2016-10-17 16:50:39 +02:00
container_operations_windows.go Windows: Factor out unused fields in container 2016-10-13 14:51:10 -07:00
create.go layer_store: Use CreateReadWrite() for -init layer instead of Create() 2016-09-21 14:45:25 -04:00
create_unix.go Add new HostConfig field, Mounts. 2016-09-13 09:55:35 -04:00
create_windows.go Add new HostConfig field, Mounts. 2016-09-13 09:55:35 -04:00
daemon.go Add config parameter to change per-container stop timeout during daemon shutdown 2016-10-17 12:28:46 -07:00
daemon_experimental.go Make authorization plugins use pluginv2. 2016-10-11 13:09:28 -07:00
daemon_linux.go
daemon_linux_test.go
daemon_solaris.go daemon: do not use pointers to map 2016-10-10 11:37:36 -07:00
daemon_stub.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
daemon_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
daemon_unix.go Fix an incorrect WARNING output in docker run/create 2016-10-16 17:11:39 -07:00
daemon_unix_test.go Initialize libnetwork and IPAMDriver with pluginstore. 2016-10-03 10:40:05 -07:00
daemon_unsupported.go
daemon_windows.go daemon: do not use pointers to map 2016-10-10 11:37:36 -07:00
debugtrap_unix.go Windows: Stack dump to file 2016-07-21 20:04:47 -07:00
debugtrap_unsupported.go Windows: Stack dump to file 2016-07-21 20:04:47 -07:00
debugtrap_windows.go Windows: Set ACL on debug listener 2016-10-14 09:15:17 -07:00
delete.go make client side know container removal in progress 2016-09-27 18:06:54 +08:00
delete_test.go make client side know container removal in progress 2016-09-27 18:06:54 +08:00
discovery.go validate heartbeat in discovery cluster opts 2016-09-01 01:07:05 +08:00
discovery_test.go validate heartbeat in discovery cluster opts 2016-09-01 01:07:05 +08:00
disk_usage.go Move types.Volumes optional fields under a new type 2016-10-11 11:49:26 -07:00
errors.go Move errors/ to api/errors 2016-09-16 12:27:13 -04:00
events.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
events_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
exec.go Fix missing hostname and links in exec env 2016-09-29 13:46:10 -07:00
exec_linux.go Remove hacked Windows OCI spec, compile fixups 2016-09-27 12:07:35 -07:00
exec_solaris.go
exec_windows.go
export.go Windows: export not supported 2016-10-05 13:15:44 -07:00
health.go make health check log more readable 2016-09-28 14:10:15 +08:00
health_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
image.go Deprecate repo:shortid syntax 2016-10-06 17:12:17 -07:00
image_delete.go Merge pull request #26616 from tonistiigi/id-digest 2016-09-18 09:40:16 -04:00
image_exporter.go
image_history.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
image_inspect.go Inspect populate image OSVersion 2016-10-06 11:46:24 -07:00
image_pull.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
image_push.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
image_tag.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
images.go Add new df subcomand to the system command 2016-09-30 14:35:23 -07:00
import.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
info.go Add isolation to info 2016-09-23 12:13:29 -07:00
inspect.go Merge pull request #26405 from yongtang/26326-inspect-ulimit-with-daemon-default 2016-09-08 13:21:26 -04:00
inspect_solaris.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
inspect_unix.go Add new HostConfig field, Mounts. 2016-09-13 09:55:35 -04:00
inspect_windows.go Add new HostConfig field, Mounts. 2016-09-13 09:55:35 -04:00
keys.go Change root_maxkeys 2016-06-27 10:23:37 -07:00
keys_unsupported.go Change root_maxkeys 2016-06-27 10:23:37 -07:00
kill.go Lock all calls to hcsshim to prevent close races 2016-09-19 12:59:02 -07:00
links.go
links_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
list.go Add a new "is-task" ps filter 2016-09-28 12:45:30 +02:00
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go Enable syslog driver for windows 2016-08-17 22:26:24 +02:00
logs.go Move engine-api client package 2016-09-07 11:05:58 -07:00
logs_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
monitor.go Remove restartmanager from libcontainerd 2016-10-07 12:09:54 -07:00
monitor_linux.go
monitor_solaris.go
monitor_windows.go Remove restartmanager from libcontainerd 2016-10-07 12:09:54 -07:00
mounts.go Add new HostConfig field, Mounts. 2016-09-13 09:55:35 -04:00
names.go Added the word "container" to clarify the error message. 2016-08-22 13:41:17 -07:00
network.go Merge pull request #24634 from thaJeztah/make-network-name-required 2016-09-27 10:20:38 +02:00
oci_linux.go Merge pull request #26961 from Microsoft/jjh/oci 2016-09-30 10:13:57 -07:00
oci_solaris.go Remove hacked Windows OCI spec, compile fixups 2016-09-27 12:07:35 -07:00
oci_windows.go Merge pull request #26961 from Microsoft/jjh/oci 2016-09-30 10:13:57 -07:00
pause.go
prune.go better prune and system df 2016-10-11 00:42:21 +08:00
rename.go Fix docker rename with linked containers 2016-06-27 19:58:05 -07:00
resize.go
restart.go Remove restartmanager from libcontainerd 2016-10-07 12:09:54 -07:00
search.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
search_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
seccomp_disabled.go Replace old oci specs import with runtime-specs 2016-08-17 09:38:34 -07:00
seccomp_linux.go New seccomp format 2016-09-01 11:53:07 +02:00
seccomp_unsupported.go Fix seccomp output in docker info 2016-07-08 17:26:42 -07:00
selinux_linux.go
selinux_unsupported.go
start.go Remove restartmanager from libcontainerd 2016-10-07 12:09:54 -07:00
start_linux.go Remove restartmanager from libcontainerd 2016-10-07 12:09:54 -07:00
start_windows.go Remove restartmanager from libcontainerd 2016-10-07 12:09:54 -07:00
stats.go Windows: stats support 2016-09-16 11:56:15 -07:00
stats_collector.go Windows: stats support 2016-09-16 11:56:15 -07:00
stats_collector_solaris.go
stats_collector_unix.go Windows: stats support 2016-09-16 11:56:15 -07:00
stats_collector_windows.go Windows: stats support 2016-09-16 11:56:15 -07:00
stats_unix.go Removed engine-api leftovers 2016-09-21 12:36:52 +02:00
stats_windows.go Windows: stats support 2016-09-16 11:56:15 -07:00
stop.go Lock all calls to hcsshim to prevent close races 2016-09-19 12:59:02 -07:00
top_unix.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
top_unix_test.go Validate arguments for ps in docker top 2016-07-08 05:58:11 +00:00
top_windows.go Windows: docker top implementation 2016-09-07 16:29:02 -07:00
unpause.go remove running judgement when unpause container 2016-08-29 10:16:18 +08:00
update.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
update_linux.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
update_solaris.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
update_windows.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
volumes.go Move types.Volumes optional fields under a new type 2016-10-11 11:49:26 -07:00
volumes_unit_test.go
volumes_unix.go Add new HostConfig field, Mounts. 2016-09-13 09:55:35 -04:00
volumes_windows.go Remove hacked Windows OCI spec, compile fixups 2016-09-27 12:07:35 -07:00
wait.go Fix race on force deleting container created by task 2016-06-14 16:49:04 -07:00