I’m fairly diligent when it comes to clearing out old docker images. To remove dangling images (those tagged with<none>
) I use the following handy command:
docker rmi -f $(docker images -q --filter "dangling=true")
But today I finally ran out of image space. A quick Google search led me to https://forums.docker.com/t/no-space-left-on-device-error/10894 and the command to check the images size:
ls -lah ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
It was 64GB!