-
-
Save salaros/1b090b73ac99887109b55153105db0e4 to your computer and use it in GitHub Desktop.
Remove Docker containers and images
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 ps -aq | foreach {docker stop $_} && docker ps -aq | foreach {docker rm $_} | |
docker image prune --filter="dangling=true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment