Create the organization access token
An organization access token belongs to your Docker organization, not to a person, so it keeps working when people join or leave the organization. Organization access tokens need a Docker Team or Docker Business subscription. Create one as an organization owner, a company owner, or with a custom role that has the Manage organization access tokens permission.
Open the token form
Sign in to Docker Home and create the token.
- Select your organization.
- Select Identity & auth > Access tokens.
- Select Generate access token.
- Label: a name that says what the token is for
- Expiration date: None, or a date before which you will renew the connection
Choose the scopes
In Resources, expand Organization and select the scopes below.
- Member Read
- Invite Read
- Group Read
Add more organization scopes (optional)
Under Organization, you can also select any of these scopes.
- Member Edit
- Invite Edit
- Group Edit
- Audit Log Read
- Repository List
- Repository Create
Add repository access (optional)
Expand Repository to give the token access to repositories.
- Select Add repository.
- Choose a repository, or All
<organization>repositories.
Choose repository scopes (optional)
For the repositories you added, you can select any of these scopes.
- Repository Read
- Tag Read
- Repository Settings Admin
- Repository Group Edit
Create the token
When the scopes are set, create the token.
- Select Generate token.
Copy the token
Docker shows the token only once.
- Copy the Organization Access Token across.
Find the organization namespace
The organization namespace is the permanent identifier of your organization. It is not the display name, which can change.
Copy the namespace
The namespace is the first part of every image name your organization pushes, as in namespace/image:tag.
- Format:
namespace/image:tag - Example: if an image is
acmecorp/api:1.4, your Organization Namespace isacmecorp - Copy the Organization Namespace across.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions