diff --git a/rootfs/lib/systemd/system/docker.service b/rootfs/lib/systemd/system/docker.service index ef5565c..88953b5 100644 --- a/rootfs/lib/systemd/system/docker.service +++ b/rootfs/lib/systemd/system/docker.service @@ -8,7 +8,7 @@ Requires=docker.socket k8s-flannel.service EnvironmentFile=/etc/kubernetes/subnet.env ExecStartPre=-/sbin/ifconfig docker0 down ExecStartPre=-/sbin/brctl delbr docker0 -ExecStart=/usr/bin/docker -d -bip=${FLANNEL_SUBNET} -mtu=${FLANNEL_MTU} -H fd:// $DOCKER_OPTS +ExecStart=/usr/bin/docker daemon -bip=${FLANNEL_SUBNET} -mtu=${FLANNEL_MTU} -H fd:// $DOCKER_OPTS EnvironmentFile=-/etc/default/docker ExecStartPost=/bin/bash -c "sleep 10" MountFlags=slave