Last active
April 27, 2019 09:59
-
-
Save sousatg/01b68236bc7b7ff31e34dc3972a881fa to your computer and use it in GitHub Desktop.
One liner to stop / remove all of 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 $(docker ps -a -q) | |
docker rm $(docker ps -a -q) | |
docker network remove $(docker network ls -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment