Created
February 17, 2021 08:41
-
-
Save lucamilan/b95f8b879dc596af2d11badd383e6f8f to your computer and use it in GitHub Desktop.
Cleanup Docker 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
| # remove dangling images | |
| docker rmi -f $(docker images -f dangling=true -q) | |
| # remove dangling volumes | |
| docker volume rm $(docker volume ls -qf dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment