forked from pool/docker
* Fix up directives in docker.service.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=116
This commit is contained in:
parent
d9b4385673
commit
da0ea66941
@ -14,12 +14,12 @@ LimitNOFILE=infinity
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
# Uncomment TasksMax if your systemd version supports it.
|
||||
# Only systemd 226 and above support this version.
|
||||
# Only systemd 226 and above support this property.
|
||||
#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
|
||||
# Only systemd 218 and above support this property.
|
||||
#Delegate=yes
|
||||
# KillMode=process is not necessary because of how we set up containerd.
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user