Created
February 26, 2018 23:53
-
-
Save damiann/fd94da2f6259b0d73df1c97bb3292d0a to your computer and use it in GitHub Desktop.
Remove all docker containers with given name
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
docker ps -a | awk '{ print $1,$2 }' | grep name_of_fed_up_container | awk '{print $1 }' | xargs -I {} docker rm {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment