Created
October 1, 2014 16:12
-
-
Save carlossg/5e1e91fabcca52fb0301 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# kill it all!!! | |
#docker ps | awk '{print $1}' | grep -v CONTAINER | xargs docker kill | |
docker rm $(docker ps -a -q) | |
docker rmi $(docker images | grep "^<none>" | awk '{print $3}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment