Skip to content
  1. LuzineDebug
  2. Docker & DevOps
  3. Error response from daemon: pull access denied f…
Docker & DevOps Beginner ≈ 5 min to fix

Fix "pull access denied for …, repository does not exist or may require docker login"

Error message
Error response from daemon: pull access denied for myapp, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
  • Unable to find image 'myapp:latest' locally docker: Error response from daemon: pull access denied for myapp, repository does not exist or may require 'docker login'.
  • ✘ web Error pull access denied for myapp, repository does not exist or may require 'docker login'
  • Error response from daemon: manifest for node:25-alpine3.10 not found: manifest unknown: manifest unknown
  • no matching manifest for linux/arm64/v8 in the manifest list entries
  • denied: requested access to the resource is denied
In short

Docker did not find the image locally and could not download it: its name does not exist on the registry, or it is private and you are not logged in. Check the full name (registry/account/image:tag), build the image if it is local (docker build -t myapp .), or log in with docker login.

Be the first to confirm this fix

What this error means

When an image requested by docker run, docker pull or Docker Compose is not on the machine, Docker downloads it from a registry. Without a registry name, that is Docker Hub: myapp becomes docker.io/library/myapp, the namespace reserved for official images. For security reasons, the registry answers the same way whether the repository does not exist or you are not allowed to access it: hence the ambiguous message. The manifest unknown (the repository exists but not that tag) and no matching manifest for linux/arm64 (no build for your CPU) variants belong to the same download step.

Common causes

  1. Image that only exists locally: docker compose up or docker run myapp on a machine where docker build was never run, or a Compose service with image: but no build:.
  2. Incomplete or misspelt name: the account (myaccount/myapp) or registry (ghcr.io/…) is missing, or there is a typo.
  3. Private image without authentication: no docker login, expired token, or account without read access to the repository.
  4. Tag that does not exist (manifest unknown): version removed, misspelt, or latest never published.
  5. Platform not published (no matching manifest): the image only exists as linux/amd64 and you are on an Apple silicon Mac or an ARM server.

Step-by-step fix

  1. Check the full image name

    See whether the image is already local, then query the registry without downloading it. If that command fails too, the name or tag is wrong, or you need to log in.

    bash
    docker images | grep myapp
    docker buildx imagetools inspect nginx:1.27-alpine
    docker buildx imagetools inspect ghcr.io/my-org/myapp:1.4.0
  2. Local image: build it before running it

    If the image comes from your own Dockerfile, build it with the same name docker run uses.

    bash
    docker build -t myapp:latest .
    docker run --rm -p 8080:80 myapp:latest
  3. Docker Compose: declare how to build the service

    With build:, Compose builds the image instead of looking for it on Docker Hub, then names it after image:. Then run docker compose up --build.

    yaml
    services:
      web:
        build: .
        image: myapp:latest
        ports:
          - "8080:80"
  4. Private image: log in to the right registry

    Log in to the registry hosting the image, with an access token rather than your password, passed through standard input so it does not appear in your shell history.

    bash
    # Docker Hub
    docker login
    # GitHub Container Registry (token with read:packages)
    echo "$CR_PAT" | docker login ghcr.io -u USERNAME --password-stdin
    # AWS ECR
    aws ecr get-login-password --region eu-west-3 | docker login --username AWS --password-stdin 123456789012.dkr.ecr.eu-west-3.amazonaws.com
    docker pull ghcr.io/my-org/myapp:1.4.0
  5. "manifest unknown": pick a tag that exists

    List the published tags on the repository page (Docker Hub, GitHub Packages) and use a specific version rather than latest.

    bash
    docker pull node:22-alpine
  6. "no matching manifest": request another platform

    If the image only exists for amd64, force that platform (emulated, so slower on ARM), or build a multi-platform image with docker buildx.

    bash
    docker pull --platform linux/amd64 vendor/legacy-app:2.1
    docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/my-org/myapp:1.4.0 --push .

Did this fix work for you?

Confirm it in one click: it will rise for the next developers stuck on the same error.

Keep it from coming back

  • Always use full names with a version tag (ghcr.io/my-org/myapp:1.4.0) in your Compose files and deployments.
  • Give locally built services both build: and image: in compose.yaml, so docker compose up --build works on a fresh machine.
  • In CI, log in to the registry with a short-lived, read-only token for jobs that only pull.

Frequently asked questions

The image exists on Docker Hub, why the error?

Check the account in the name: myapp means an official image, while a user’s image is written user/myapp. If it is private, docker login with an account that has access is required.

Why does docker push give "denied: requested access to the resource is denied"?

To push, the image must be named with your account or organisation (docker tag myapp myaccount/myapp:1.0) and you must be logged in with write access.

What about Kubernetes?

The same cause produces ErrImagePull then ImagePullBackOff. For a private registry, create a secret with kubectl create secret docker-registry and reference it in imagePullSecrets.

Useful tools for this error

More Docker & DevOps errors

All Docker & DevOps errors →