Prerequisites
- A Docker account with access to the personal and organization repositories you want to inspect.
- Your Docker Hub username. Use the account name, not an email address or organization name.
- A personal access token with the permissions described below.
Use a dedicated, expiring PAT for CloudThinker. A Read-only PAT covers every inventory and tag inspection capability.
Setup
1
Create a personal access token
Sign in to Docker Home, then select your avatar → Account settings → Personal access tokens → Generate new token. Docker documents this flow in its personal access token guide.Configure the token:
- Description:
cloudthinker - Expiration date: choose a lifetime that matches your security policy
- Access permissions: select Read-only for inventory, or Read, Write & Delete if you also need repository description updates
2
Add the connection in CloudThinker
Navigate to Connections → Docker Hub and enter:
- Docker Hub username: the account that created the PAT
- Personal access token: the PAT you just created
Connection details
Required permissions
Docker Hub rejects repository description updates from a Read & Write PAT. Use Read, Write & Delete only when you need that capability. The connection cannot delete repositories or images, even with this PAT.
CloudThinker’s write permission ships as Never allow. To enable description updates, open the connected Docker Hub account, expand Tool permissions → Write/delete tools, and select Needs approval. Each update then requires approval.
Agent capabilities
Pull counts are lifetime totals, not rates. Reported sizes are compressed image sizes, not storage usage or runtime footprint.
Verify the connection
Example prompts
Troubleshooting
Invalid Docker Hub username
Invalid Docker Hub username
Enter the Docker Hub account name that created the PAT. Do not enter an email address or an organization namespace.
Authentication failed
Authentication failed
The PAT is wrong, expired, deactivated, or deleted. Generate a new PAT, then reconnect with the same Docker Hub username.
An organization namespace is missing
An organization namespace is missing
Docker Hub may refuse organization listing for a PAT. This does not prove that the account has no organizations. Ask the agent to inspect the known organization namespace directly, and confirm that the PAT’s account is a member.
A private repository is not found
A private repository is not found
Confirm the namespace and repository name. The account that created the PAT must also have permission to read that private repository.
A description update reports insufficient scope
A description update reports insufficient scope
The PAT does not have Read, Write & Delete permission. Docker Hub also rejects this update from a Read & Write PAT. Generate a replacement PAT with the required permission and reconnect.
A description update does not run
A description update does not run
Open the Docker Hub connection and check Tool permissions → Write/delete tools. Set the write permission to Needs approval, then approve the update when CloudThinker asks.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Prefer Read-only: use Read, Write & Delete only when agents must update repository text. The connection still cannot push, delete, rename, or change repository visibility.
- Rotate and revoke: set an expiration, review last-used dates, and deactivate or delete unused PATs under Account settings → Personal access tokens.
Related
CircleCI Connection
Monitor pipelines, workflows, jobs, and build logs
Approval
Control actions that require human confirmation