systemd: 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: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit d736ae9da7401f582469fa7e943adde9f2163024) Signed-off-by: Eli Uriegas <eli.uriegas@docker.com> Upstream-commit: 784c5936ec984b5525ac71eca3b7731e49eb6b37 Component: packaging
This commit is contained in:
committed by
Eli Uriegas
parent
32fc71f155
commit
350162b4b0
@@ -34,5 +34,8 @@ TasksMax=infinity
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user