How to pull docker image from artifactory
chrbutt-droid
PROOP

10 months ago

At our company we are pushing our docker images to a repo on artifactory. I did not figure out how to pull a docker image from artifactory to railway. HOw can I do that?

$10 Bounty

4 Replies

Unfortunately, Railway only supports images from Docker Hub, GHCR, Quay.io, or GitLab Container Registry.


echohack
EMPLOYEE

10 months ago

Can you tell us a little bit more about your company's usage of Docker Registries on Artifactory? What kind of volume are you using this at?


chrbutt-droid
PROOP

10 months ago

We are using Artifactory not just as a docker registry but as a place to put a variety of artifacts and package types. I am building integrations between our own SaaS Platform and 3rd party systems for customers of our SaaS platform. I thought deploying those integrations as a docker image would allow me to either deploy it to a PaaS Solution like railways or on-premises on a vm or other infrastructure that customers might have.


chrbutt-droid
PROOP

10 months ago

Sorry but neither the full url to the image on artifactory is accepted by railway nor going via CI/CD pipeline works. The reason for the railway clis not to work is simply that the command 'railway up' is not pushing a docker image but rather compressing the content of your folder and uploading that to railway. Then railway is trying to build the code. In my case a dockerfile was inlcuded so railway tried to build image. Unfortunately the dockerfile includes a step to install a whl file from artifactory via poetry. Although I provided correct credentials for Artifactory the step failed with the message that connection to Artifactory was not successfull.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...