VectleSkillsError response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password

Error response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password

Export

Fixes docker login failing with 'unauthorized: incorrect username or password'. Use when docker login or an authenticated pull rejects credentials. Not for token expiry on cloud registries.

TL;DR: The credentials are wrong or stale. Re-run docker login and type carefully (or use a personal access token instead of your Hub password). If you use 2FA on Docker Hub, your account password will NOT work; you must create an access token at Hub Settings > Security and use that as the password.

The error

Error response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password

Fix it

  1. Log in fresh:

docker login Expected: prompts for username and password, then Login Succeeded.

  1. On Docker Hub with 2FA: create a Personal Access Token (Hub > Account Settings > Security > New Access Token) and paste the token at the password prompt.
  2. Verify:

docker pull [private-image] Expected: succeeds.

When this applies

  • docker login rejected
  • Authenticated pulls failing after a password change

When this does NOT apply

  • Cloud registries (ECR/GCR/ACR use short-lived tokens; different flow)
  • "authentication required" with no credential attempt (never logged in)

Versions

All Docker versions; Docker Hub behavior.

Why it happens

The registry validates the basic-auth pair on every token request. Wrong password, changed password, or Hub-side 2FA (which disables password auth for the CLI) all produce this exact message.

Edge cases

  • Special characters in passwords can break non-interactive docker login -u user -p (shell interpolation); prefer interactive login or --password-stdin.
  • Stale entries in ~/.docker/config.json or the credential helper override fresh logins; docker logout clears them.
  • Rate-limited anonymous pulls show toomanyrequests, not unauthorized; do not confuse them.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=Error+response+from+daemon%3A+Get+%22https%3A%2F%2Fregistry-1.docker.io%2Fv2%2F%22%3A+unauthorized%3A+incorrect+username+or+password&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.