Digest-pinned releases and promotion
A tag is a changeable name. A digest identifies particular content by its hash. For deployment, record the approved registry reference by digest so that changing a tag does not silently select different content. Digests do not prove that the content is trustworthy.
Worked example
Use this worksheet offline. Names and values are fictional; no live registry, credentials, Docker daemon or external requests are needed. Commands are illustrations, not observed results. Before separately authorized verification, identify the effective Docker endpoint, client credential configuration, builder and registry destination as applicable. Never disclose credential files or private context details.
Synthetic release ledger (A and B are symbolic digests)Monday: demo:stable -> A; approved release -> ATuesday: demo:stable -> B; approved release -> ARollback target: previously tested AReference form: registry.example.com/team/demo@sha256:<64 hex digits>An image manifest digest identifies the serialized manifest; an image index digest identifies a set of platform descriptors, and an image ID is not a substitute for either registry reference. The index can select different child manifests for different architectures. Record the platform and selected manifest when required by release policy. Promote the already tested artifact instead of rebuilding a supposedly identical release. When copying between registries, independently check the destination digest; a tool or registry can change manifest representation. Keep the approved previous digest available for rollback and review database compatibility separately. A digest pin can still point to a vulnerable artifact and must be updated through a reviewed process. Matching an index digest does not replace checking availability of required child manifests and associated evidence. Record whether policy approves the index, a child manifest or both.
Common mistake
Never confuse digest pinning with signature verification, vulnerability assessment or a complete rollback strategy.
Manual practice
Predict what stable and the pinned release resolve to on Tuesday. Write an approval record containing platform, digest, test evidence and previous release.
Worksheet: lab-fixtures/docker-registries-and-delivery/04-immutable-digests/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Digest-pinned releases and promotion — Knowledge check
Reason about image distribution and safe delivery.
What does the approved release still reference on Tuesday?
Does a digest guarantee a safe image?
Why record a platform with an index digest?