Docker Community Forums

Share and learn in the Docker community.

Release space after remove container


(Sluchainiyznak) #1

Hello. Please explain, I would like to remove few containers and images. I will have more free space on HDD if I will do this in Ubuntu. How will it work in OS X?


(David Sheets) #2

Hello,

Docker for Mac uses a virtual block device stored on a sparse disk image (64GB) that grows as data is written to it. There is currently no easy way to shrink this disk image – removing containers or images will simply free space in the file system on the disk image but will not free that space on the host file system. This issue is tracked by https://github.com/docker/for-mac/issues/371 which also includes some workarounds.

Best,

David