Created
May 10, 2022 21:43
-
-
Save banjtheman/3cbc9db98352d5d09340a54f4bed4530 to your computer and use it in GitHub Desktop.
Clean docker 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 -qa --no-trunc --filter "status=exited") | |
docker rmi $(docker images --filter "dangling=true" -q --no-trunc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment