Created
June 24, 2019 08:22
-
-
Save ph4r5h4d/d4e9a0e611b4d06e3ae879de6b8d2fd2 to your computer and use it in GitHub Desktop.
docker remove 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 images -f "dangling=true" -q` | |
clean image repository `docker image prune` | |
remove <none> images `docker rmi --force $(docker images | grep "^<none" | awk '{print $3}')` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment