
In order to resize the Docker disk volume, first clone the VDI volume from the default VMDK volume vboxmanage clonehd /full/path/to/disk.vmdk /full/path/to/disk_resized.vdi -format VDI -variant Standard.

Stop the Docker virtual machine docker-machine stop default.īoot2Docker package installer ships with a VMDK volume, which VirtualBox’s native tools cannot resize.

$ lvextend -L +100G /dev/mapper/myfs-vg-cloudįilesystem Size Used Avail Use% Mounted on for Ubuntu running on virtual-machine : use GParted)Ĥ) Extend the filesystem - lvextend -L +50G Even after expansion, not readily available inside the vmdk's OS (step 3,4,5)ġ) convert to ".vdi" first - VBoxManage clonehd v1.vmdk v1.vdi -format vdiĢ) expand the size using command-line (Ref: tvial's blog for step by step info)Įxpand from the Virtual Media Manager in VirtualBox.ģ) Expand the size of drive, with new allocation (e.g.Rather fixed size allocation (step 1,2).
