Multi-architecture container images let one published image reference serve different host platforms, but reliable delivery requires more than adding a second build target. This checklist explains how AMD64 and ARM64 variants fit together, how to build and publish them, and how to verify native binaries, base images, registries, and deployment environments before release.
Overview
AMD64, also commonly called x86_64, remains common in servers, desktops, and cloud workloads. ARM64, also called AArch64, is used across many developer laptops, edge systems, and server environments. A container image built for one architecture generally cannot run natively on the other when it contains architecture-specific executables or shared libraries.
A multi-architecture image solves the distribution problem by associating multiple platform-specific image manifests with one tag. In OCI terminology, this top-level object is commonly represented as an image index. Docker uses the related term manifest list in many interfaces. When a client pulls the tag, the client and registry can use the requested operating system and architecture to select the matching image variant. The application team still has to build and test each variant; the index does not translate a binary from AMD64 to ARM64.
A typical workflow has four stages: identify the platforms you support, build a variant for each platform, publish the variants and the OCI image index, and test pulls and startup on representative hosts. Build tools such as Docker Buildx can coordinate multi-platform builds, but the exact behavior depends on the builder, registry, base image, and whether the build uses native workers or emulation.
| Platform | Common label | Compatibility concern | Verification focus |
|---|---|---|---|
| AMD64 | linux/amd64 | Native binaries compiled for x86-64 | Test on an AMD64 runtime and check CPU-specific optimizations |
| ARM64 | linux/arm64 | Native binaries and libraries compiled for AArch64 | Test on an ARM64 runtime and confirm base-image support |
| Other platforms | For example, operating-system or variant combinations | Different kernel, ABI, or variant assumptions | Declare only platforms that are built and tested |
Checklist by scenario
Before changing the Dockerfile
- List the deployment platforms, including operating system and architecture. Do not assume that a developer laptop, CI runner, and production node use the same platform.
- Inspect every base image and build-stage image for the platforms you need. A multi-platform final image cannot be produced reliably if a required stage exists only for one architecture.
- Inventory native dependencies, including compiled language runtimes, database clients, cryptography libraries, image-processing tools, shell utilities, and downloaded command-line programs.
- Record any CPU-specific flags, assembly implementations, runtime plugins, or prebuilt artifacts that may be selected during the build.
When building
- Use explicit platform targets, such as linux/amd64 and linux/arm64, rather than relying on the builder's default platform.
- Keep build and runtime stages platform-aware. A compiler running on the build machine must produce artifacts for the target platform, not merely for the machine executing the build.
- Use a builder with either native workers for the target platforms or a supported emulation path. Emulation can be useful for compatibility testing, but it may be slower and may not expose every performance or runtime issue.
- Make dependency downloads deterministic where practical. Verify checksums and select the correct artifact for the target architecture.
- Apply a unique release tag or digest strategy so that variants cannot be confused with an older image.
When publishing
- Push each platform image and then confirm that the registry contains the expected OCI image index or Docker manifest list.
- Check that the published tag maps to both required platforms. A successful push of one image does not prove that the multi-architecture reference is complete.
- Confirm that registry permissions, retention rules, signing workflows, scanning jobs, and replication policies handle the index and its child manifests.
- Test an anonymous or deployment-equivalent pull if access controls differ between CI and production.
When deploying
- Pull the same tag on an AMD64 host and an ARM64 host, then inspect the selected image digest.
- Start the container and exercise its health check, startup migrations, network listeners, file permissions, and main application path on each platform.
- Verify that orchestration constraints do not schedule an image onto an unsupported node. Platform labels and node selectors should match the supported image set.
- Capture the image digest used by each environment so a failure can be tied to a specific published artifact.
What to double-check
Base-image availability: A familiar base image name does not automatically mean every tag supports every architecture. Review the tag's published manifests and confirm that the required variant is present. Be especially careful with dated tags, minimal images, language runtime images, and internal base images.
Native binaries: A downloaded executable compiled for AMD64 will usually fail on ARM64 with an executable-format or loader error. The reverse is also true. Build from source for each target where possible, or select an artifact using the build platform and target platform explicitly.
Cross-compilation variables: Build systems often expose variables for the build platform and target platform. Use them deliberately and document their meaning. A compiler that runs on AMD64 can emit ARM64 code, but only if the toolchain and dependencies support that target.
Runtime libraries: Confirm that shared libraries, dynamic loaders, certificates, shell tools, and plugins exist in the runtime stage for both platforms. A successful compile does not guarantee that the slim runtime image contains the required loader or library.
Registry behavior: Some workflows inspect only the top-level tag, while others resolve a child manifest. Check both. Also verify that cleanup automation does not remove child manifests that are still referenced by an index. For related operational controls, see this container registry cleanup checklist.
Orchestration compatibility: Image compatibility is separate from cluster compatibility. Before a hardware migration or platform upgrade, review runtime and Kubernetes assumptions using the container runtime and Kubernetes compatibility reference.
Common mistakes
- Building only on the current laptop: A local ARM64 build may pass while the production AMD64 image is stale or absent. CI should build every declared target.
- Publishing a tag without inspecting its index: The tag can exist while one platform points to the wrong digest or is missing entirely.
- Confusing emulation with native validation: An emulated build or test can reveal obvious incompatibilities, but it may hide timing, performance, syscall, or hardware-specific behavior.
- Using architecture-neutral language for architecture-specific files: Scripts that download a fixed URL, copy a precompiled helper, or choose a CPU-optimized package need target-aware logic.
- Testing only application startup: Exercise background workers, scheduled jobs, migrations, media processing, compression, and observability agents too. These paths often contain the native dependency that fails first.
- Over-declaring support: Publish only the platforms that have a repeatable build and a meaningful test. A longer platform list is not useful if an image variant is unverified.
When to revisit
Use this checklist before each release that changes a base image, compiler, dependency lockfile, build runner, registry, or deployment platform. Revisit it before moving workloads between AMD64 and ARM64 nodes, adding developer hardware with a different architecture, or introducing a new minimal runtime image.
It is also worth scheduling a periodic review before seasonal planning cycles or major infrastructure changes. Reconfirm base-image manifests, Buildx or equivalent builder behavior, registry retention, security scanning, signing, and orchestration rules rather than assuming they remain unchanged.
For a practical release gate, require the following evidence: a build log for every supported platform, the published index or manifest-list inspection, a pull test on representative AMD64 and ARM64 hosts, application-level smoke tests, and recorded digests. If a test fails, first identify the selected platform and child digest, then check the base image, native executable, shared library, and registry metadata in that order. This workflow turns a vague platform failure into a traceable compatibility issue.
Finally, document the supported platform set in the repository and deployment configuration. Link the decision to the release process so a future hardware migration or tool change triggers the same verification instead of relying on institutional memory. For wider operational planning, pair this review with the Kubernetes upgrade checklist and your rollback procedure.