Created
April 19, 2017 18:36
-
-
Save rpherrera/cdc1dd5b4b505631c697098503ee4bfb to your computer and use it in GitHub Desktop.
remove all killed docker containers
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/bash | |
docker ps -a | awk '{print $1}' | grep -v CONTAINER | xargs docker rm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment