Last active
December 18, 2015 13:50
-
-
Save imesh/93cc73c0d9285a490f02 to your computer and use it in GitHub Desktop.
Increase Boot2Docker Disk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference | |
# https://docs.docker.com/articles/b2d_volume_resize/ | |
echo "Cloning existing disk..." | |
vboxmanage clonehd "/path/to/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vmdk" "/path/to/VirtualBox VMs/boot2docker-vm/boot2docker-vm-v1.vdi" --format VDI --variant Standard | |
echo "Increasing disk size..." | |
vboxmanage modifyhd "/path/to/VirtualBox VMs/boot2docker-vm/boot2docker-vm-v1.vdi" --resize 40960 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment