-
-
Save helderberto/b8df74ffa0bbd42aec0dfce01ad776a2 to your computer and use it in GitHub Desktop.
kill all docker containers at once...
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 ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment