Home/Troubleshooting guide
Docker registry authentication guide

Docker login succeeds but pull is unauthenticated?

Short answer: check the target passed to docker login. Docker Desktop 4.96 can store credentials incorrectly when that target includes a repository or image path. Log in to the registry host only, then retry the original full image pull once.

Unbranded laptop showing abstract registry command rows with one amber authentication warning beside a network storage device
Short answer: Record the Docker Desktop and CLI versions, the redacted login command shape, the full image-reference shape, and the exact pull response. If the login target contains a repository or image suffix, repeat login once with only the registry hostname and optional port. Keep the repository path in the pull command. Retry that pull once without changing another variable.
Keep secrets out of the test. Do not paste a password or token into shell history, screenshots, logs, or a support ticket. Do not delete config.json, clear the whole credential store, disable TLS, add an insecure registry, or grant a broader repository role as a first response.

Match Docker's 4.96 known issue

Docker's current Desktop release notes describe a narrow failure in version 4.96. A command such as docker login registry.example/repository/image includes path components after the registry host. Docker says that path is not normalized, so the credential can be stored incorrectly and the later pull can be sent without the intended authentication.

The exact match has four parts: Docker Desktop 4.96, a successful login message, a login target that contains a repository or image path, and a later pull reported as unauthenticated. Save the full error text before changing the command. An unauthorized response, denied repository scope, rate limit, expired token, or disabled account may need a different owner.

Docker's current notes include patch releases through 4.96.3 but do not name a release that fixes this condition. Do not treat a patch number as proof that the issue is gone.

Protect the credential and private names

Redact the username, private registry host, organization, repository, image tag, and token before sharing a command or screenshot. Do not publish config.json, native keychain entries, credential-helper output, or a private image reference.

Use Docker's device-code flow when it is offered. For a registry that requires a password or token, use --password-stdin with a secret supplied by the approved local mechanism. The point is to keep the secret out of the command line and shell history.

docker login registry.example --username USER --password-stdin

The sample values are intentionally generic. Replace them locally and do not paste the completed command into a public artifact.

Correct only the login target

Identify the registry host at the start of the image reference. It may include a port. Remove the repository, image, and tag from the login target.

docker login registry.example:5000
docker pull registry.example:5000/team/image:tag

The first command addresses the registry. The second keeps the full image reference. Do not shorten the pull target or switch repositories during the test. One corrected variable makes the result useful.

Run login and pull under the same operating-system user and Docker context. Credentials stored for another user or context may not be available to the pull you are testing.

Retry the original pull once

After the host-only login reports success, retry the original full image pull once. Record the time, Docker context, registry host, redacted image shape, and complete response. Do not run broad cleanup between login and pull.

If the pull succeeds, the result matches Docker's documented target correction. It does not reveal which stored credential record was selected internally, and it does not prove that every repository under that registry is accessible.

If the same response remains, stop repeating login. The path-target condition has been tested. The next step is classification, not more credential churn.

Separate authentication from repository access

A registry can accept a login while denying access to a specific repository. Check whether the account has permission for that repository and whether the token has the required pull scope. Keep organization membership, single sign-on, access-management rules, and account state with the authorized registry owner.

Compare the response wording and status. Authentication asks whether the registry accepted the credential. Authorization asks whether that identity may read the repository. Rate limits and account restrictions are separate again. Do not fix a permission problem by disabling TLS, adding an insecure registry, or granting an oversized role.

If Docker Desktop or its engine will not start, use the Docker Desktop startup guide. If WSL automount is failing before the registry request, use the WSL automount guide. Neither path is solved by changing registry credentials.

Save a redacted support record

Keep the Docker Desktop and CLI versions, operating system, Docker context, registry host with private details masked, login command shape, image-reference shape, exact response, timestamp, and account or organization role. Note whether the host-only correction changed the result.

Remove tokens, passwords, usernames, private hostnames, repository names, image tags, customer names, local paths, and unrelated environment data before sending the record. The registry or account owner may need to review scope and access. Docker Support may need the version and exact command shape.

A host-specific logout can be a bounded secondary step when the evidence points to a stale credential for that host. Do not clear unrelated credentials or the entire native credential store.

Where OmniMend fits

OmniMend can organize local version, system, application, and timeline evidence on supported hosts. It does not log in to a registry, edit Docker configuration, change permissions, remove credentials, pull an image, or guarantee a fix.

The product supports Windows 10 and Windows 11 x64 plus Apple Silicon Mac for local diagnostics. It does not list a Linux build. After the host-only login and one pull, supported Windows or Mac users can review the OmniMend download options if a separate local evidence record would help. Keep Docker and the registry owner in control of authentication and access.

Editorial sources

Checked October 24, 2026 against Docker's Docker Desktop release notes, docker login reference, and pull and authentication guidance, plus Microsoft's Azure Container Registry authentication differential. Docker supports the 4.96 path-target condition, host-only registry syntax, device-code flow, password-stdin, and the distinction between authenticated and unauthenticated pulls. Microsoft supports the account, token, scope, and registry-policy look-alikes. These sources do not prove that every failed pull has the same cause or that Docker Desktop 4.96.3 fixes the known issue. OmniMend added the evidence order, privacy limits, branch table, internal routing, and product boundary.

Correct one target.
Keep the evidence clean.

Test the registry host without exposing credentials or changing repository access.

Get OmniMend