Created
November 7, 2017 12:57
-
-
Save vitorfs/f961b7b0507109b14cee5ce87a578214 to your computer and use it in GitHub Desktop.
Stop and remove all Docker containers and images
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 -f $(docker ps -a -q) | |
docker rmi -f $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment