-
-
Save jericrealubit/8e8b5330056609b320b3934080eab723 to your computer and use it in GitHub Desktop.
Sort docker images by size desc
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
#!/bin/sh | |
docker images --format '{{.Size}}\t{{.Repository}}\t{{.Tag}}\t{{.ID}}' | sed 's/ //' | sort -h -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment