Render Accessing Private Accounts/Repositories

I want to use the Render REST API service to deploy my docker images stored on my DockerHub container registry. Can I do this if my DockerHub’s account and image repositories are private?

When I made my repository private using the ‘Create Service’ URL, I received a 400 status code stating the server was unable to understand the request.

I have the DockerHub credentials added to my Render account

As soon as I switched the repository back to public, I received a 201 status code of a successful request

I do not want the repositories being accessed publically

Hi,

Yes. The image deploy docs show that private images can be deployed with registry credentials: https://docs.render.com/deploy-an-image#credentials-for-private-images

These credentials can also be added via the API: https://api-docs.render.com/reference/create-registry-credential

And the service creation API has an “image” section: https://api-docs.render.com/reference/create-service

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.