More out of curiosity than necessity: I noticed that my Local’s .vdi image keeps getting larger and larger when I add sites. Seems logical.
However, the opposite is not true: the .vdi image file never ever shrinks when I remove sites from Local.
Much less logical.
Is there a way to compact the image, or would that involve silly terminal voodoo stuff like sudo dd if=/dev/zero | pv | sudo dd of=/bigemptyfile bs=4096k?