Skip to main content

- Defending Internet Freedom

- IndieHosters

- Give Docker Trainings

-, yet another Docker PaaS

- Meteor Freelancer

- ToS;DR

- IndieWeb

- I have something to Hide and you?

- Framasoft

Pierre Ozoux

I know how to clean docker!

1 min read

And I can show you!


docker rm -v $(docker ps -a -q)

docker rmi $(docker images -q)

docker volume rm $(docker volume ls -qf dangling=true)


These commands are dirty, but they are 'safe' as they will do nothing if the ressource is used.

(Don't do it in production though, unless you know what you are doing!)

Inspired from and and also and