Pages

Topics

Tools

↑↓navigate↵openescclose
All guides

Docker: manifest unknown when pulling an image tag

manifest unknown means the registry holds no image for that repository, tag, or platform. Confirm the tag, check the arch, and pin a digest once it works.

~5 min readDocker
#Docker#Registries#Images#Troubleshooting
A Docker registry crate with an empty cyan manifest slot, an amber tag card and a platform switch beside it

Introduction & Quick Summary

A pull that ends with no image at all:

code
$ docker pull ghcr.io/example/api:1.4.0 Error response from daemon: manifest for ghcr.io/example/api:1.4.0 not found: manifest unknown: manifest unknown

The registry answered the manifest request with a 404. The repository may exist, the credentials may be valid, and the network may be fine: there is simply no manifest under that reference. Either the tag was never pushed, it was pushed under a different name, or it exists only for another architecture.

Four causes, in order of frequency:

  • The tag does not exist, often because CI pushes only latest or a commit SHA, never a version string.
  • The image is multi-arch but has no entry for the current platform, which the registry reports as a missing manifest in some clients.
  • The reference points at the wrong registry or namespace, such as ghcr.io/... while the image lives on Docker Hub.
  • The image was deleted or the repository was renamed.

Quick answer: list what the registry actually holds, then pull a reference that exists. Pin a digest once it works, so the build cannot silently follow a moving tag.

Core Mechanics, Signatures & Reproducible Setup

A Docker reference has four parts: registry host, repository, tag, and digest. docker pull ghcr.io/example/api:1.4.0 asks the registry for /v2/example/api/manifests/1.4.0 with an Accept header listing manifest media types. The response is either a manifest, a manifest list (an OCI index describing per-platform manifests), or an error. manifest unknown is the registry's wording for the 404 case.

bash
# what references exist? docker manifest inspect ghcr.io/example/api:1.4.0 # what platforms does a manifest list contain? docker manifest inspect --verbose ghcr.io/example/api:latest | grep -E '"architecture"|"os"' # pull a specific platform explicitly docker pull --platform linux/amd64 ghcr.io/example/api:1.4.0

A reproducible check without pulling layers is the registry API itself, which works with a token and returns the manifest size and digest:

TOKEN=$(curl -s "https://ghcr.io/token?scope=repository:example/api:pull" | jq -r .token) curl -s -o /dev/null -w "%{http_code}\n" \ -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/vnd.oci.image.index.v1+json" \ -H "Accept: application/vnd.docker.distribution.manifest.list.v2+json" \ "https://ghcr.io/v2/example/api/manifests/1.4.0"

The error family matters, because the fix differs for each:

MessageRegistry statusMeaning
manifest unknown404no manifest for that tag or reference
no matching manifest for linux/arm64404 on platformmulti-arch image lacks that platform
pull access denied401 or 403not signed in, or no repository access
toomanyrequests429rate limit, not a missing image
unauthorized401token expired or wrong scope

Key Comparison Table

ApproachReproducibleEffortCorrect when
Pull an existing taguntil the tag moveslowlocal experiments
Pull by digestyeslowCI and production
--platform for one architectureyeslowemulation or single-arch hosts
Multi-arch build with buildxyesmediumserving several architectures
Retag and push againuntil overwrittenlowfixing a mistaken tag
Commit SHA tagyeslowtraceability to source

Practical Edge Cases, Error Fixes & Deep Dive Code Examples

1. Confirm what tags exist

docker manifest inspect on a guessed tag returns the same error you already have. List tags from the registry API instead, then pick one that is present.

TOKEN=$(curl -s "https://ghcr.io/token?scope=repository:example/api:pull" | jq -r .token) curl -s -H "Authorization: Bearer $TOKEN" \ "https://ghcr.io/v2/example/api/tags/list?n=100" | jq -r '.tags[]' | sort -V | tail -20

Docker Hub has an equivalent endpoint under https://hub.docker.com/v2/repositories/<owner>/<repo>/tags. A tag list also shows whether the pipeline published a version at all.

2. The tag exists but not for this architecture

On Apple silicon, linux/arm64 is requested by default. An image built only for amd64 may fail with no matching manifest or manifest unknown, depending on the client and registry.

docker pull --platform linux/amd64 ghcr.io/example/api:1.4.0 docker run --platform linux/amd64 ghcr.io/example/api:1.4.0

Emulation works for development and is slow for anything CPU-bound. For real use, build both platforms and push a manifest list:

bash
docker buildx build \ --platform linux/amd64,linux/arm64 \ --tag ghcr.io/example/api:1.4.0 \ --push .

Without --push, buildx builds into the local cache and publishes nothing, which produces exactly this error on the next pull.

3. Wrong registry prefix

docker pull example/api:1.4.0 means Docker Hub, not GHCR. The same repository name can exist in both places with different contents.

bash
docker pull docker.io/example/api:1.4.0 docker pull ghcr.io/example/api:1.4.0

If the two differ, one of them lacks the tag. Print docker image inspect --format '{{.RepoDigests}}' after a successful pull to see which registry actually served the image.

4. Private images and login scope

A missing credential usually yields pull access denied or unauthorized, but some registries answer 404 to avoid leaking repository existence, so a permissions problem can look like a missing tag.

bash
echo "$GITHUB_TOKEN" | docker login ghcr.io -u "$GITHUB_ACTOR" --password-stdin docker pull ghcr.io/example/api:1.4.0

In CI, confirm the token has read:packages and that the workflow passes the same actor the image was published under. A token that can push but not read a package owned by another user is a common surprise.

5. Pin by digest

A digest identifies exact content. Once a pull succeeds, reuse the digest from RepoDigests and the reference stops depending on the tag.

bash
docker pull ghcr.io/example/api:1.4.0 docker image inspect --format '{{index .RepoDigests 0}}' ghcr.io/example/api:1.4.0 # ghcr.io/example/api@sha256:7f9c...

Dockerfiles and Kubernetes manifests should use the digest form in production. When a registry garbage-collects an untagged manifest, digest references fail loudly rather than silently resolving to different content.

6. Build-time FROM failures

The same error appears inside docker build when a base image tag does not exist. The BuildKit output names the stage, and the fix is identical: verify the tag, or use a digest.

dockerfile
FROM node:24.9.0-alpine AS build

Suffix variants do not exist for every version and architecture. node:24-alpine may resolve while node:24.9.0-alpine3.21 does not, depending on what the maintainers published. Check the tag page before assuming the image is broken.

Common Compilation/Runtime Mistakes & Version Gotchas

  • Assuming latest is published. Many CI pipelines deliberately never push latest, and registries do not create it automatically.
  • Caching the failure. Registries and proxies cache 404 responses briefly; a tag pushed a moment ago can still return manifest unknown for a few minutes.
  • Mixing image stores. Docker Engine with the containerd image store resolves multi-arch differently from the classic store, so the same pull can succeed on one machine and fail on another.
  • Registry mirrors. A configured mirror may have an incomplete tag list. Pull with the full registry host to bypass the mirror while diagnosing.
  • Deleted tags. Registries allow tag deletion while the manifest stays referenced by digest; a tag can vanish while a pinned deployment keeps working.
SymptomCauseFix
works locally, fails in CIdifferent platform--platform or multi-arch build
fails after a pipeline changetag scheme changedlist tags, update the reference
only the base image failsmissing variant taguse a published variant or digest
intermittent 404 on a new tagregistry cachewait and retry

When the reference lives in a Compose file, validate the YAML before blaming the registry: the Compose validator catches interpolation and indentation mistakes that produce an empty or malformed image name, and the YAML formatter shows where a quoted tag broke the parse.

The CLI behaviour is documented in docker image pull, and building for several architectures, including the --push requirement, is covered in Multi-platform builds.

Official references

primary documentation

The Docker documentation that defines the behaviour this guide explains.

Try matching browser tools

All tools

Small utilities that fit Docker work — they run entirely in this browser tab, so nothing you paste leaves your device.

All Docker guides

More in Docker

All Docker guides

The guides filed next to this one in Docker, in library order.