Tell Docker to use 'overlay' storage driver
This commit is contained in:
1 parent
db8016112e
commit
4853a1da05
1 file changed
+2
-2
Vendored
+2
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user