ANDREAS SCHIPPLOCK
Programmer, Linux user since ~2000.


Docker Prune

Deletes everything in your docker environment. Like _everything_. Never execute these commands on any kind of production system. Don't put it in any kind of script. Copy & paste it whenever you need it.

Prune everything:


docker stop $(docker ps -a -q) 2> /dev/null
docker system prune -af
docker volume prune -f
docker network prune -f
docker container prune -f
Check the result:


docker system df
It's all gone by now.