Docker Cheat Sheet/Inspect repo digests

Display the digests associated with a local image.

Section: Registries and Manifests

Inspect repo digests

bash
bash
docker image inspect nginx:latest --format '{{json .RepoDigests}}'
Explanation

Useful when promoting or pinning builds.

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 Registries and Manifests
Show Docker version
Display client and server version details.
OpenIn sheetbash1 tag match
Inspect a container
Show low-level JSON metadata for a container.
OpenIn sheetbash1 tag match
Show Docker system info
Display engine-wide diagnostic and configuration information.
OpenIn sheetbash1 tag match
Push an image
Upload an image to a registry.
OpenIn sheetbash1 tag match
Format inspect output
Render inspect output through a Go template.
OpenIn sheetbash1 tag match
Show filesystem changes
Show filesystem changes in a container since it started.
OpenIn sheetbash1 tag match