Skip to content

Instantly share code, notes, and snippets.

@sorinstanila
Created October 18, 2016 09:22
Show Gist options
  • Save sorinstanila/f020c4b3ef1626d0915cebcf08cdcdc3 to your computer and use it in GitHub Desktop.
Save sorinstanila/f020c4b3ef1626d0915cebcf08cdcdc3 to your computer and use it in GitHub Desktop.
# Remove all volumes
docker volume rm $(docker volume ls -qf dangling=true)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment