-
Notifications
You must be signed in to change notification settings - Fork 171
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
Issue pulling from Private Repository #118
Comments
Hey @Mythirion ,
where So when providing an image you need to provide full image name like:
This way application will know to take credentials for Can you try that and let me know if that works for you? |
Hi @trane9991, I can confirm that the URL in Cheers |
Forgot to add, using an alpine image seems to get pulled fine, which leads me to believe there's an issue with third-party, private registries. |
This is the correct assumption, with the So the problem must be with image pulling. Can you please share with me the exact format of your private image name and entry in the |
Are they completely-completely the same? |
Hi @trane9991, We got a little confused with credentials and logging in on the host. We can now confirm that it works. Cheers |
Hi,
We're moving over to Ofelia from docker-crontab because we want alerts when the cronjobs don't quite work. Having some trouble at the minute getting Ofelia to work with our private GitLab repository, however.
We have a test job, called foo-bar, for example:
I also have a Dockerfile (added the
docker login
for the private repo):And a docker-compose (we use docker-compose in prod. Also mounted my config.json because I read somewhere that you need to add it to work with private repos. Doesn't work without it either):
Then, I'm simply running
docker-compose up --build
to build and run the 'stack'.I'm getting the error:
One would assume from the code that (especially after adding pull = true to the config.ini file) it should try to pull the image first.
How do I fix this?
Thanks
The text was updated successfully, but these errors were encountered: