Merge pull request #5302 from cubetto/fix-docker-no-space-to-build
providers/docker: build docker image from /var/lib/docker
This commit is contained in:
commit
104f2106ce
|
@ -28,7 +28,7 @@ module VagrantPlugins
|
||||||
# We're on a host VM, so we need to move our build dir to
|
# We're on a host VM, so we need to move our build dir to
|
||||||
# that machine. We do this by putting the synced folder on
|
# that machine. We do this by putting the synced folder on
|
||||||
# ourself and letting HostMachineSyncFolders handle it.
|
# ourself and letting HostMachineSyncFolders handle it.
|
||||||
new_build_dir = "/mnt/docker_build_#{Digest::MD5.hexdigest(build_dir)}"
|
new_build_dir = "/var/lib/docker/docker_build_#{Digest::MD5.hexdigest(build_dir)}"
|
||||||
options = {
|
options = {
|
||||||
docker__ignore: true,
|
docker__ignore: true,
|
||||||
docker__exact: true,
|
docker__exact: true,
|
||||||
|
|
Loading…
Reference in New Issue