Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@DannyHinshaw
Created May 8, 2018 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DannyHinshaw/3296ae6d03bca895474d2e3afa150a00 to your computer and use it in GitHub Desktop.
Save DannyHinshaw/3296ae6d03bca895474d2e3afa150a00 to your computer and use it in GitHub Desktop.
For when docker is all messed up and you need a clean slate... run with caution.
docker volume rm $(docker volume ls -q)
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
docker volume rm $(docker volume ls -q)
@DannyHinshaw
Copy link
Author

For all out war:

docker system prune -a

... use wisely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment