From c96be0fae435b27b77c1ccef88a6df58b4a93f4f Mon Sep 17 00:00:00 2001 From: ecwpz91 Date: Wed, 27 Apr 2016 00:23:27 -0400 Subject: [PATCH] Modified systemd unit file to fix daemon (1.10.3) failure with error message 'flag provided but not defined: -d' on HypriotOS Version 0.7.0 Berry (beta) --- rootfs/lib/systemd/system/docker.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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