diff --git a/docker.service b/docker.service index 5ea1fc0..d01eadc 100644 --- a/docker.service +++ b/docker.service @@ -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