Keep your docker clean
- POST
When running docker for some time on your local machine it accumulates quite some data and from time to time you might want to clean them up.
This is a collection of docker commands I found most useful in this context:
Clean Volumes Cleans all volumes that are not used by any container.
docker volume rm $(docker volume ls -qf dangling=true) Clean Images Cleans all images that are not used by any running container.