Report this

What is the reason for this report?

How to create a new registry, "subscription tier slug" issue

Posted on November 3, 2020

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.