mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
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.
This commit is contained in:
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
Block a user