Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove all docker containers
#Stop all docker containers
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
#Remove all docker images
docker rmi $(docker images -q)
# Remove all docker volume
docker volume rm $(docker volume ls -f dangling=true -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.