I’ve created one container registry with one repository,now I need to either create a new registry or add a new repository to the existing registry but I don’t see any way to do this with digital ocean. Is there a way to do this?
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.
Hi there,
Indeed once you’ve created a Docker registry for your account, you can start pushing different images to it as described here:
https://docs.digitalocean.com/products/container-registry/quickstart/#push-to-your-registry
You don’t need to create separate registries for each image, you can just follow the steps above and push your images there.
Let me know if you have any questions.
Best,
Bobby
Trying this out via the cli tool doctl with the command
doctl registry create {registry_name}
yields the errorError: POST https://api.digitalocean.com/v2/registry: 422 (request "eba64b5d-bf2f-41c4-b5ee-f7fc112ba717") user already has a registry