Question

How to allow pull only access to my container registry?

I would like to give access to my devs to our containers, but I want them to have pull access only. Is it possible?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

Yes, you can create a read-only API token as per the instructions here:

https://docs.digitalocean.com/reference/api/create-personal-access-token/

Then you can share this API token with your developers and they will have read-only access to the registry.

I’ve just tested it out and tried pushing an image and got the following permissions denied message:

Using default tag: latest
The push refers to repository [registry.digitalocean.com/bobbyiliev/ubuntu]
68a85fa9d77e: Preparing 
denied: requested access to the resource is denied

Hope that this helps.

Best,

Bobby