Created
December 11, 2014 20:24
-
-
Save obazoud/b42801105ab608b432dd to your computer and use it in GitHub Desktop.
Purge Docker
This file contains hidden or 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
#!/bin/bash | |
docker stop $(docker ps -a -q) | |
docker rm -f $(docker ps -a -q) | |
docker rmi -f $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment