Docker Cheat Sheet/Show image history

Show the layer history of an image.

Section: Images

Show image history

bash
bash
docker image history nginx:latest
Explanation

Helpful for understanding image growth and Dockerfile output.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Images
Pull an image
Download an image from a registry.
OpenIn sheetbashsame section
Push an image
Upload an image to a registry.
OpenIn sheetbashsame section
List images
List local images.
OpenIn sheetbashsame section
List images with image namespace
List local images using the image management namespace.
OpenIn sheetbashsame section
Inspect an image
Show low-level JSON metadata for an image.
OpenIn sheetbashsame section
Remove an image
Delete a local image.
OpenIn sheetbashsame section