Last active
October 27, 2020 21:10
-
-
Save textbook/5abecedb087c9e81772485b33b9ba9f6 to your computer and use it in GitHub Desktop.
Easy commands to clean up 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 rm $(docker ps --all --quiet --filter status=exited) | |
docker rmi $(docker images --quiet --filter dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment