← All notes

Multi-platform Docker builds: one invocation, many architectures

Answer: A multi-platform build is a single build invocation that targets more than one operating system or CPU architecture combination.

Why multi-platform images exist

When you build images this way, you can create one image that runs on platforms such as linux/amd64, linux/arm64, and windows/amd64.

Containers share the host kernel, so the code inside a container must be compatible with the host architecture.

That is why you cannot run a linux/amd64 container on an arm64 host without emulation, or a Windows container on a Linux host.

Multi-platform builds package several variants of the same application into one image, so the same image can run on x86-64 machines or ARM hosts without emulation.

Image structure and prerequisites

A single-platform image has one manifest that points to one configuration and one set of layers.

A multi-platform image has a manifest list that points at several manifests, each with its own configuration and layers.

When you push the image, the registry stores the list and the individual manifests.

When you pull it, Docker selects the correct variant for the host architecture, such as linux/arm64 on a Raspberry Pi or linux/amd64 on an x86-64 Linux laptop.

Manifest lists need an image store that supports them.

Docker Desktop and Docker Engine 29.0 and later use the containerd image store by default, so no extra setup is required on those versions.

On an older engine you can enable the containerd image store, or create a docker-container builder, which can build multi-platform images but does not load them into the Engine image store; you can push them with docker build --push.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Multi-platform builds; Docker, Inc., Multi-platform builds (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Multi-platform builds; Docker, Inc., Multi-platform builds (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.

Cite this

Permanent ID: iil:note:0wkjgg91

iinventedlight. 2026. "Multi-platform Docker builds: one invocation, many architectures." iinventedlight Library, iil:note:0wkjgg91, version of 2026-11-27. https://iinventedlight.com/library/notes/docker-build-multi-platform/. License: CC-BY-4.0.

@misc{iil_note_0wkjgg91,
  author = {{iinventedlight}},
  title = {{Multi-platform Docker builds: one invocation, many architectures}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-27},
  url = {https://iinventedlight.com/library/notes/docker-build-multi-platform/},
  note = {Permanent ID iil:note:0wkjgg91. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-build-multi-platform.md.