diff --git a/contrib/init/systemd/docker.service b/contrib/init/systemd/docker.service index 9b0ce63ebc..92d72467e2 100644 --- a/contrib/init/systemd/docker.service +++ b/contrib/init/systemd/docker.service @@ -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