Created
August 14, 2017 14:34
-
-
Save douglampe/1f6bb7912e8b01cbdcae4acda435278f to your computer and use it in GitHub Desktop.
Bash script to stop and remove all 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
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment