As following tutorials i would like to create registry in digital ocean.
I do:

➜  do-kube-cluster-fra1 doctl registry login -t "XXXXXXXXXX" --output json
Logging Docker in to registry.digitalocean.com
{"errors":[{"detail":"GET https://api.digitalocean.com/v2/registry/docker-credentials?read_write=true: 412 registry not configured for user"}]}

ok, i don’t have any registry in my account so i do a:

➜  do-kube-cluster-fra1 doctl registry create qovery -t "XXXXXXXXX"      
Error: POST https://api.digitalocean.com/v2/registry: 422 invalid subscription tier slug

But I don’t have anything, and I don’t understand the meaning of subscription tier slug

edited by AHA

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello!

Unfortunately, this was an oversight on our part in releasing the GA edition of DOCR. We’re working on fixing doctl to support DOCR subscriptions. Once that’s done, you’ll be able to list subscription tiers with doctl registry options tiers, and then select a tier for your registry with the --subscription-tier flag when creating a registry.

I will post an update here when a new version of doctl with these changes is released.

Thanks for your patience,
– Adam

  • Following up on this: the latest version of doctl (v1.51.0), released last night, has support for subscription tiers.

    You can list the available tiers with doctl registry options tiers. When creating a registry, you’ll get the basic tier by default, but can specify a different tier with the --subscription-tier flag.

Submit an Answer