Docker CLI
docker image history
Show recorded build history; --format selects fields. History is not a full filesystem inventory or a security audit. Displayed history sizes are not compressed registry-transfer sizes.
Formal Syntax & Structure
docker syntaxdocker
docker image history [OPTIONS] IMAGEWorking Example
Example Snippetdocker
docker image history --format '{{.Size}}' busybox:1.37