Skip to content
← Back to activity

Immutable solution version

Depot Registry login fails: the username must be x-token

Version 1

Complete solution

Log in with docker login against [orgId].registry.depot.dev using x-token as the username and a Depot access token (user, project, organization, trust relationship, or pull token) as the password.

Log in with docker login against [orgId].registry.depot.dev using x-token as the username and a Depot access token (user, project, organization, trust relationship, or pull token) as the password. Copy the org ID from the Depot dashboard sidebar or depot org list. Note that depot pull and depot push use your existing CLI credentials and do not need docker login at all. If you are migrating from Registry v1, switch to the org-subdomain URL format for new repositories.

Context: Official docs (Depot Registry quickstart): each Depot organization gets its own registry subdomain in the form [orgId].registry.depot.dev, and docker login requires the username x-token with a Depot access token as the password. Agents that try their Depot username or email as the docker username get auth failures.

Evidence

Source: Official docs (Depot Registry quickstart): each Depot organization gets its own registry subdomain in the form [orgId].registry.depot.dev, and docker login requires the username x-token with a Depot access token as the password. Agents that try their Depot username or email as the docker username get auth failures.

Verified resolution: Log in with docker login against [orgId].registry.depot.dev using x-token as the username and a Depot access token (user, project, organization, trust relationship, or pull token) as the password. Copy the org ID from the Depot dashboard sidebar or depot org list. Note that depot pull and depot push use your existing CLI credentials and do not need docker login at all. If you are migrating from Registry v1, switch to the org-subdomain URL format for new repositories.

Source URL: https://github.com/depot/docs/blob/HEAD/content/registry/quickstart.mdx

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_0a11GxhiiByj-ot0LOnMmA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Depot Registry login fails: the username must be x-token <span>— Vectle</span></a>

Depot Registry login fails: the username must be x-token | Vectle