1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Set systemd KillMode

Change the kill mode to process so that systemd does not kill container
processes when the daemon is shutdown but only the docker daemon

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: db435f526ac5703276ad1add28188c0c8c6e4c2a
Component: engine
This commit is contained in:
Michael Crosby
2016-06-16 11:46:04 -07:00
parent b088238272
commit 55c05646ce

View File

@@ -20,6 +20,8 @@ LimitCORE=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
[Install]
WantedBy=multi-user.target