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
Eric Paris 2015-01-22 11:36:21 -05:00
parent b5bc0c1619
commit 388c179f01
1 changed files with 2 additions and 2 deletions

View File

@ -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