docker image ls --format '{{.Repository}}:{{.Tag}} {{.Size}}'

Category: Docker

docker image ls --format '{{.Repository}}:{{.Tag}} {{.Size}}'

List images in a compact format

Prints repository, tag, and size per line without table borders, easy to grep or pipe. Go template fields like {{.ID}} and {{.CreatedSince}} also exist. Omit table to drop column headers.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.