Last active
September 29, 2017 02:14
-
-
Save mdekrey/dc89a3173dad6cf7ddbb68df89193b7a to your computer and use it in GitHub Desktop.
Docker Powershell Cheatsheet
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
# Remove all stopped containers | |
docker rm $(docker ps -a -q) | |
# Remove unnamed images | |
docker rmi $(docker images -f dangling=true -q) | |
# Remove ALL networks (this does not discriminate against built-in networks.) | |
docker network rm $(docker network ls -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment