Skip to content

Instantly share code, notes, and snippets.

View DavidForster's full-sized avatar
💻

David Forster DavidForster

💻
View GitHub Profile
@andyrbell
andyrbell / docker-image-size.sh
Last active June 3, 2024 16:58
Sort docker images by size desc
#!/bin/sh
docker images --format '{{.Size}}\t{{.Repository}}\t{{.Tag}}\t{{.ID}}' | sed 's/ //' | sort -h -r | column -t