Platform manifests and image indexes
A platform describes an execution environment, usually an operating system and CPU architecture, sometimes a variant. A multi-platform image reference can resolve to an index that points to distinct image manifests. The image configuration and layers describe each variant. This lets users select a compatible image using one release name.
Worked example
Use this worksheet offline. Names and values are fictional; no live builder, 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.
Fictional index I linux/amd64 -> manifest A -> config A, layers X linux/arm64 -> manifest B -> config B, layers Y attestation -> metadata M (not runnable)Illustrative command, not executed:docker buildx build --platform linux/amd64,linux/arm64 .On a Linux ARM64 target, B is the relevant runnable entry. A and B have their own digests; the index has another digest that identifies the collection. A tag can move to another index. Some index entries carry attestations, not runnable applications. Inspect the index metadata and compare the required platform list; the registry-oriented docker buildx imagetools inspect is appropriate only with authorized access. Classic local image stores cannot hold an image index; check the image store and exporter. The command above requests targets, not proof that any target built successfully or ran. Distinguish requested targets from the exported index and local image store. Containerd-backed image stores support multi-platform indexes; verify actual exporter and store rather than assuming a fresh-install default applies to upgraded systems.
Common mistake
Do not count every index descriptor as a runnable platform or equate an index digest with a platform manifest digest.
Manual practice
Identify the manifest for an AMD64 target and explain what digest to record to pin the full release versus one variant.
Worksheet: lab-fixtures/docker-buildx-multi-platform/02-platform-manifests/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Platform manifests and image indexes — Knowledge check
Reason about multi-platform build reasoning.
Which entry fits linux/arm64?
What identifies the collection?
Does the target flag establish runtime compatibility?