Created
February 3, 2024 11:15
-
-
Save jwhb/068c4786deaaac16edc3e32992159ba8 to your computer and use it in GitHub Desktop.
Sort Docker volumes by size
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 system df -v --format json | jq -r '.Volumes[] | [.Size,.Name] | @tsv' | sort -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment