Created
May 8, 2018 11:11
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For all out war:
... use wisely