Deploying private dockerhub image - how to add credentials?

rjbathgate
PRO

2 months ago

Hey

I want to deploy from a private dockerhub repo - and after reading:
https://station.railway.com/questions/connect-service-to-private-dockerhub-rep-827c56d1
and
https://station.railway.com/questions/using-private-repo-325adfe7

I states it's available on the Pro Plan.

So I upgraded to the Pro plan but still have no idea how to specify my private dockerhub image.

If I follow the Create > Docker the dialog box and then enter the URL of my private repo (for example myaccount/myreponame) it errors with:

Unable to connect to the registery for this image. If you are using a private image, please make sure your credentials are valid

Presuming I'm correctly setting the URL as per myaccount/myreponame -- this matches my Dockerhub account e.g. https://hub.docker.com/repository/docker/myaccount/myreponame

Where/how do I define my dockerhob credentials in Railway? I've looked everywhere (well, by the sounds of it, not everywhhere but I can't figure it out).

Help! Please.

Thaks

Solved

1 Replies

rjbathgate
PRO

2 months ago

Ah I found it... Project > Service > Settings > Source Image> Registry Credentials.

Panic over.


Status changed to Solved brody 2 months ago


Deploying private dockerhub image - how to add credentials? - Railway Help Station