So I am using the Docker for Windows beta. I have some concerns about the disk usage of the virtual disk MobyLinuxVM.vhdx.
-
I just pull a single simple image. According to docker images, the image is ~6 GB. But MobyLinuxVM.vhdx actually takes ~11GB.
-
I am expecting that the size of virtual disk is unchanged from time to time because I actually do not “save anything to Docker”. I basically open the container, as a drop-in Linux-like environment, do something, and close it. I do not commit any new container. But after some days, the size of MobyLinuxVM.vhdx is getting larger, from ~11GB to ~15GB!
Is there any way to actually shrink the useless virtual disk spaces?