Need to restart docker after systemd reconfigure

This commit is contained in:
Bryan Boreham committed 2015-07-14 12:12:35 +01:00
1 parent 907de67a40
commit 6d17fe5df5
1 file changed
+1 -1
+1 -1
View File
@@ -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