docker-image-ls
Verified for current stable LTS
Docker Image Ls Command: Sort Docker Images By Size
Use for sort docker images by size with Docker Image Ls. Exact CLI syntax to sort docker images by size using Docker Image Ls.
When to use this: Use for sort docker images by size with Docker Image Ls.
Command Syntax
docker images --format "<.ID> <.Size> <.Repository>:<.Tag>" | sort -k 2 -h docker images --format "<.ID> <.Size> <.Repository>:<.Tag>" | sort -k 2 -h Command Breakdown
--format- Command Option
- Tool-specific option used by this command invocation.
-k- Command Option
- Tool-specific option used by this command invocation.
-h- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to sort docker images by size using Docker Image Ls.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Docker Image Ls Command: List All Docker Images
docker images Docker Image Ls Command: List All Docker Images Including Intermediates docker images -a Docker Image Ls Command: List Docker Images By Name Substring docker images "<*name*>" Docker Image Ls Command: List Docker Images In Quiet Mode docker images -q Docker Image Ls Command: List Docker Images Quiet Mode docker images -q