From 6d17fe5df5e663d1cf693a17405eb92da60002f8 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 14 Jul 2015 12:12:35 +0100 Subject: [PATCH] Need to restart docker after systemd reconfigure --- test/Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Vagrantfile b/test/Vagrantfile index c150129c..d8b72c45 100644 --- a/test/Vagrantfile +++ b/test/Vagrantfile @@ -32,7 +32,7 @@ def configure_docker(host, hostname, ip) host.vm.provision :shell, :inline => "sed -i -e's%-H fd://%-H fd:// -H tcp://0.0.0.0:2375 -s overlay%' /lib/systemd/system/docker.service" host.vm.provision :shell, :inline => "systemctl daemon-reload" - host.vm.provision :shell, :inline => "systemctl start docker" + host.vm.provision :shell, :inline => "systemctl restart docker" host.vm.provision :shell, :inline => "systemctl enable docker" cleanup(host.vm) end