Created
January 12, 2016 07:07
-
-
Save balos1/eb718f229b62d4d5602b to your computer and use it in GitHub Desktop.
Bash function to stop all docker containers
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 stop all containers | |
function docker-stopall() { docker stop $(docker ps -a -q) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment