Adjust image size of Docker qcow2 file

Short version Increase image size by 100GB: qemu-img resize ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 +100G Resize partition: qemu-system-x86_64 -drive file=~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2¬† -m 512 -cdrom ~/Downloads/gparted-live-0.30.0-1-amd64.iso -boot d -device usb-mouse -usb Get an empty Docker.qcow2 image from my GitHub page and make your Docker use it: https://github.com/tobiashofmann/sap-nw-abap-docker How to adjust the Docker image size for using Read more…