mirror of https://github.com/k3s-io/k3s
Use docker.service not docker.socket in unit files
Some distros, include RHEL and Fedora, are doing away with the docker socket by default in systemd units, for security reasons. Instead rely on the docker.service being started instead of socket activation.pull/6/head
parent
b5bc0c1619
commit
388c179f01
|
@ -1,8 +1,8 @@
|
|||
[Unit]
|
||||
Description=Kubernetes Kubelet Server
|
||||
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
||||
After=docker.socket cadvisor.service
|
||||
Requires=docker.socket
|
||||
After=docker.service cadvisor.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/kubernetes/config
|
||||
|
|
Loading…
Reference in New Issue