Last active
December 14, 2017 15:03
-
-
Save fabiocruzcoelho/5f75fb5b996085b3b36310fbe43fba31 to your computer and use it in GitHub Desktop.
Comandos mais utilizados docker
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
# Stop / remove all Docker containers | |
# Para todos containers | |
docker stop $(docker ps -a -q) | |
# Remove todos containers | |
docker rm -f $(docker ps -a -q) | |
# Remove todas imagnes | |
docker images -q | xargs docker rmi -f | |
docker rmi -f $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment