Last active
December 27, 2015 13:37
-
-
Save waleedsamy/5223dc2e0abea7cc5bac to your computer and use it in GitHub Desktop.
stop and remove docker container
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
| # | |
| ### cnt=$(docker ps -a | awk 'NR>1 {print $1}') && docker stop $cnt && docker rm $cnt | |
| ### docker stop $cnt && docker rm $cnt | |
| # | |
| 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