Docker: no matching manifest for linux/arm64 fix
The image tag has no layer for your platform. Build multi-arch, pin a platform that exists or publish arm64 variants instead of forcing --platform.

Introduction & Quick Summary
On an Apple Silicon laptop, or on an arm64 server or cluster node, the pull stops immediately:
$ docker pull mysql:5.7
no matching manifest for linux/arm64/v8 in the manifest list entriesQuick answer: the image tag is published as a manifest list whose entries cover only some platforms, and yours is not one of them. Docker resolved the host platform to linux/arm64/v8, asked the registry for that entry, and the registry had nothing to return. Three fixes exist, and they are not interchangeable: run the amd64 image under emulation, build an arm64 variant yourself, or use a tag that already ships both.
# 1. inspect what the tag contains
docker buildx imagetools inspect mysql:5.7
# 2. run the amd64 image under emulation (slower, works today)
docker run --platform linux/amd64 mysql:5.7
# 3. build your own multi-arch image
docker buildx build --platform linux/amd64,linux/arm64 -t registry.example.com/api:1.2.0 --push .The error is about the image, not about Docker being broken, and it appears in docker pull, docker run, docker compose up and docker build (for the FROM line). The rest of this guide shows how to read a manifest list, which fix suits a development laptop versus a production cluster, and how the same root cause reappears later as exec format error.
Core Mechanics, Signatures & Reproducible Setup
A multi-platform image is not one image. The tag points at a manifest list (or an OCI image index), which holds one manifest per platform. Docker sends the host platform in the pull request, and the registry returns the matching leaf manifest, or nothing.
docker buildx imagetools inspect mysql:5.7
# Name: docker.io/library/mysql:5.7
# MediaType: application/vnd.docker.distribution.manifest.list.v2+json
# Manifests:
# Platform: linux/amd64
# Platform: linux/arm64/v8 <- absent for this tagThe platform string has up to three parts: os/arch/variant. linux/arm64/v8 is the usual arm64 Linux value; linux/amd64 has no variant. Docker compares these values literally, so an image published for linux/arm64 without a variant normally still matches, but a tag published only for linux/amd64 never matches an arm64 host.
docker version --format '{{.Server.Arch}} / {{.Server.Os}}'
# arm64 / linux
docker run --rm --platform linux/amd64 alpine uname -m
# x86_64 (emulated)
docker run --rm alpine uname -m
# aarch64 (native)A reproducible case, using a tag that is amd64-only on many registries:
docker pull mysql:5.7
# no matching manifest for linux/arm64/v8 in the manifest list entries
docker pull --platform linux/amd64 mysql:5.7
# 5.7: Pulling from library/mysql ... Status: Downloaded newer imagedocker pull --platform affects only the image that command fetches. It does not change the default for later commands, and it does not change what a docker build produces.
Key Comparison Table
| Approach | Command | Speed | Correctness |
|---|---|---|---|
| emulation | --platform linux/amd64 | 2 to 20 times slower | runs x86 code, fine for dev |
| native multi-arch build | buildx build --platform=... | one build per platform | best for images you own |
| alternative tag | use a tag with an arm64 entry | native | depends on upstream |
| default platform override | DOCKER_DEFAULT_PLATFORM=linux/amd64 | slow everywhere | hides the real gap |
| remote builder | --builder on an amd64 host | native there | good for CI |
| Where the error appears | What is happening | First check |
|---|---|---|
docker pull | tag has no entry for host arch | imagetools inspect |
docker run | image missing locally, implicit pull | same |
docker compose up | no platform: in service | add platform: or build multi-arch |
docker build at FROM | base image lacks target arch | base image manifest |
exec format error at start | image for the wrong arch did start | uname -m inside |
| Host | Typical host platform | Tags that commonly lack it |
|---|---|---|
| Apple Silicon Mac | linux/arm64/v8 | older database and vendor tags |
| arm64 cloud VM | linux/arm64/v8 | same |
| amd64 server | linux/amd64 | some arm64-first projects |
| Windows with WSL2 | linux/amd64 | rare |
Practical Edge Cases, Error Fixes & Deep Dive Code Examples
1. Read the manifest before choosing a fix
docker manifest inspect works without pulling and without a buildx builder:
docker manifest inspect -v postgres:16 | jq -r '.manifests[].platform | "\(.os)/\(.architecture)/\(.variant // "-")"'If the output lists only linux/amd64, emulation or building is the only route. If it lists linux/arm64 but the host asks for linux/arm64/v8, an older Docker version that does not normalise the variant can be the cause, and updating Docker fixes it.
2. Emulation is for development, not for production
Running amd64 images on arm64 uses QEMU inside Docker Desktop, or Rosetta when that option is enabled. Database workloads are several times slower and some JIT-based runtimes crash outright:
services:
db:
image: mysql:5.7
platform: linux/amd64
ports: ["3306:3306"]
environment:
MYSQL_ROOT_PASSWORD: exampleSet platform: per service rather than globally; a global DOCKER_DEFAULT_PLATFORM=linux/amd64 makes every image emulated, including the ones that have a native arm64 build, and slows the whole development loop.
3. Build a multi-arch image for code you own
BuildKit builds each platform and pushes a manifest list, so any host can pull a native image later:
docker buildx create --name multiarch --use
docker buildx inspect --bootstrap
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t registry.example.com/api:1.2.0 \
--push .--push (or --output type=registry) is required for a manifest list; --load can only load a single-platform image into the local store, and combining both flags fails.
For compiled languages, build on the build host's architecture and cross-compile to the target, so no step runs under emulation:
FROM golang:1.23 AS build
ARG TARGETOS TARGETARCH
WORKDIR /src
COPY . .
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /out/api ./cmd/api
FROM gcr.io/distroless/static:nonroot
COPY /out/api /api
ENTRYPOINT ["/api"]$BUILDPLATFORM, $TARGETOS and $TARGETARCH are BuildKit-provided values; without them the compiler would emit binaries for whichever platform the builder happens to be.
4. CI pipelines
A CI runner is usually amd64. Building arm64 there requires an emulation layer, and pushing both platforms requires a builder that can write a manifest list:
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: registry.example.com/api:1.2.0setup-qemu-action registers the binfmt handlers that let the amd64 kernel execute arm64 binaries; without it the arm64 half of the build dies with exec format error during RUN steps. For large compiled projects, a native arm64 runner is much faster than emulation.
5. Registries that lose the manifest list
Copying an image with docker pull, docker save and docker load flattens it to the platform that was pulled. The copy in the private registry then has a single manifest, and arm64 hosts get the same error against the mirror:
# keeps every platform
skopeo copy --all docker://docker.io/library/postgres:16 docker://registry.example.com/postgres:16
# flattens to one platform
docker pull postgres:16 && docker tag postgres:16 registry.example.com/postgres:16 && docker push registry.example.com/postgres:16Mirrors, air-gapped registries and image-scanning proxies are the usual places where this happens. Compare the manifest type before and after the copy.
6. When it becomes exec format error
A single-arch image forced onto the wrong platform fails at container start rather than at pull:
standard_init_linux.go:228: exec user process caused: exec format error
That means the image was pulled (or built) for another architecture and the kernel refused the binary. Check the running architecture from inside the container and the node architecture in Kubernetes:
kubectl get nodes -o wide
kubectl get pod api-0 -o jsonpath='{.spec.nodeName}{"\n"}'
kubectl exec api-0 -- uname -mIn Kubernetes the pull error names the node's platform, which is why the same Deployment can be healthy on an amd64 pool and failing on an arm64 one. Use the CIDR calculator when the failure turns out to be registry network access rather than architecture, and the Docker Compose validator to check the platform: key before restarting the stack.
Common Compilation/Runtime Mistakes & Version Gotchas
- Assuming
--platformchanges the built image. It selects what to pull or what to target; for a build you must pass--platformtobuildx buildand push the result. - Using
--loadwith several platforms. Only one platform fits in the local image store; the command fails with an export error that looks unrelated. - Pinning an old database tag in Compose. Tags without arm64 entries are frozen; moving to a newer minor version is often the smallest fix.
- Copying images by save and load. The manifest list is lost, and the mirror serves one architecture to everybody.
- Version notes. BuildKit is the default builder in current Docker releases, but
docker buildwithout a buildx builder still cannot produce a manifest list;docker buildx build --pushis the supported path. Docker Desktop's Rosetta option applies to amd64 containers on Apple Silicon only. - Reading the platform from the host only. In a cluster, the node architecture decides; a laptop that pulls fine says nothing about the node that fails.
Official documentation: Multi-platform builds and the docker manifest reference.
Official references
primary documentationThe Docker documentation that defines the behaviour this guide explains.
Try matching browser tools
All toolsSmall utilities that fit Docker work — they run entirely in this browser tab, so nothing you paste leaves your device.
Related Docker guides
All Docker guidesDocker build: failed to compute cache key: not found
BuildKit cannot hash a file that is not in the context. Correct the context path, the .dockerignore rules, or the COPY source and stage name.
Docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock
An endpoint mismatch, a stopped daemon, or a missing socket mount. Resolve which of the three, then start, retarget, or mount.
Docker Compose: bind: address already in use and Port Conflicts
A published port is a host socket, and two projects cannot own it. How to find the real owner, why an override file merged instead of replacing, and how.
Docker Buildx: Building Multi-Architecture Images (AMD64 & ARM64) Explained
One tag, several architectures: the driver that supports it, QEMU versus cross-compilation, registry cache, and reading the manifest list.
More in Docker
All Docker guidesThe guides filed next to this one in Docker, in library order.