-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pull from private registry? #180
Comments
Do you pull the image before you start a container? We use a private registry and pull the image always before we start the container (cf. code PREvant that uses pulling images and starting containers of |
@schrieveslaach Thank you for your help. Yes, I do pull the image, and that's when I get this error: To be more precise I'm trying to pull an image from our private GitLab registry, with the url I've looked at your code and I don't see the |
The recent version 0.5.0 of shiplift added support for authentication (see here). I think, GitLab enforces authentication. |
@schrieveslaach Thanks for your response. I did include the registry authentication bit, to no avail. |
It's not clear whether I need to specify the registry url in the src method or if I can just use registry.url.com/path/image:tag as the image name. Apparently the latter doesn’t work as I get a 500 error (pulling the same image the docker CLI works). Help would be appreciated!
The text was updated successfully, but these errors were encountered: