![]() Set language preference to option “33”, which maps to “US English”.Set the policy for handling keymaps to “Don’t touch keymap”.Select “GParted Live (Default settings)”. Click on the “Start” icon to boot up the Docker virtual machine, which will launch the GParted ISO.If you are running Docker on a computer with a solid-state hard drive, please make sure the “Solid-state Drive” option is selected for the cloned VDI volume.Mount the cloned VDI volume via the “Add CD/DVD Device” option.Mount the GParted ISO via the “Add CD/DVD Device” option.Launch the VirtualBox application, select default VM and click on the “Settings” gear on top.We recommend at least 64GB vboxmanage modifyhd /full/path/to/disk_resized.vdi -resize. Resize the newly cloned VDI volume to the desired capacity.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. Download GParted Live CD/USB/HD/PXE Bootable Image.To make sure the Docker virtual machine has plenty of disk space, we should resize /dev/sda1 to a number that is more reasonable. Once developers really start containerising their applications, they often generate a large number of images and quickly fill up the 20GB hard drive space allocated to the Docker virtual machine by default. Tested with Docker version 17.06.0-ce, build 02c1d87. I had to make little adjustments so here is the modified version. After hours of digging I found this blog post and like magic everything works. Tried all the solutions here, but nothing seemed to work. Your system must now be ready to use, with extended allocations !! $ 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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |