DigitalOcean
Save a DigitalOcean Container Registry using an API token and Docker credentials.
Add a DigitalOcean Container Registry so applications can pull and push images with saved credentials.
Before you start
- A DigitalOcean account.
Connect
Open https://cloud.digitalocean.com/registry/new, click Create a Container Registry, enter a lowercase name such as wtree-cloud-username, and click Create Registry.
Click Actions, then Download Docker Credentials, and select Read and Write permissions.
Open the downloaded file and copy the auth value. You paste it as the Password.
Open https://cloud.digitalocean.com/account/api/tokens, click Generate New Token, select the Registry permission, and click Create. Copy the token. You paste it as the Username.
In the panel, open Integrations › Registries and click Add registry. Enter a Registry name, the token as Username and the auth value as Password. Set Registry URL to registry.digitalocean.com.
Cluster setups only: set an Image prefix.
Click Test registry, then Create.
Use it
Select the registry when an application or cluster needs to push or pull images. See Registries for the shared settings.
Limits
The username and password roles are reversed compared with Docker Hub: the API token goes in Username and the credentials auth value in Password.
