Docker Space

Recently Docker has been annoying me with claiming tons of disk space. This post is to save me some googling when I need to take care of this issue again.

This will destroy your data!


$ docker rm $(docker ps -a -q)
$ docker rmi $(docker images -q)

It’s worth noting that I was using Docker for months before this became an issue.