![]() ![]() Qemu-img resize Docker.qcow2 +100G # make it 100GB larger Qemu-img info Docker.qcow2 # shows you current disk size brew updateĬd ~/Library/Containers//Data/64-linux/ Resize existing Docker for Mac disk imageĬlose the Docker for Mac Application and wait for it to shutdown completely. There is no UI element for this yet.Ĭredit for this procedure goes to and was taken from docker/for-mac#371 (comment). $ rm ~/Library/Containers//Data/64-linux/Docker.qcow2įor anyone wanting to use an external drive, you can also change the location of the Docker.qcow2 by editing the database key 64-linux/disk/path. # delete the disk - this unfortunately deletes all images and containers $ git commit -s -m 'increase size to 128GiB'ġ file changed, 1 insertion(+), 1 deletion(-) # The 64-linux/disk/size file (and the disk dir) may not exist. HEAD is now at 8635944 last-start-time changed at 1480009710 $ cd ~/Library/Containers//Data/database/ ![]() # I can increase or decrease the default cap by: ![]() Image: /Users/djs/Library/Containers//Data/64-linux/Docker.qcow2 $ /Applications/Docker.app/Contents/MacOS/qemu-img info ~/Library/Containers//Data/64-linux/Docker.qcow2 If you are getting the error: No space left on deviceĬonfiguring the qcow2 size cap is possible in the current versions: # my disk is currently 64GiB UPDATE: The instructions here are no longer necessary! Resizing the disk image is now possible right from the UI since Docker for Mac Version 17.12.0-ce-mac49 (21995). Set the default size for new Docker for Mac disk images ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |