Release space after remove container

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?


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 which also includes some workarounds.