Tell Docker to use 'overlay' storage driver

This commit is contained in:
Bryan Boreham committed 2015-07-13 18:28:29 +01:00
1 parent db8016112e
commit 4853a1da05
1 file changed
+2 -2
+2 -2
View File
@@ -28,8 +28,8 @@ def configure_docker(host, hostname, ip)
install_packages host.vm, pkgs
host.vm.provision :shell, :inline => "usermod -a -G docker vagrant; "
# Listen on the remote API
host.vm.provision :shell, :inline => "sed -i -e's%-H fd://%-H fd:// -H tcp://0.0.0.0:2375%' /lib/systemd/system/docker.service"
# Listen on the remote API and use overlay storage driver
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"