-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[docker-slim renovate image] replace the default index.docker.io #6318
Comments
Renovate attempts to pull You would need to either:
|
@rarkins Thank you for your prompt response.
but this doesn't work. I still get the |
@misterkramer Can you try to map the daemon config to the renovate container? Maybe this is required there. |
You need to be able to run |
yes, it works:
but when I run command
|
OK, I think I understand now where the problem is. Our renovate/lib/datasource/docker/index.ts Line 617 in 342bfd4
It's called from here: renovate/lib/util/exec/docker/index.ts Line 86 in 342bfd4
Because no custom |
May be to use |
I think we can pass registryUrls. This would possible solve other own hosting renovate images scenarios. |
The challenge is if you passed the |
Right, what about passing it while calling setDirectories. Of cause renaming the function then an passing all admin config. |
Can we detect the changed default host using a Docker command? If so then we can lazily detect it the first time there’s a Docker exec |
Sure, we could call docker info to return a json object and filter the mirror config, or only use the format argument to print the mirror config. |
In that case let's do it that way and then pass |
@misterkramer would it be ok for you to configure |
🎉 This issue has been resolved in version 23.20.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Which Renovate are you using?
Renovate Open Source CLI
Which platform are you using?
Bitbucket Server
Have you checked the logs? Don't forget to include them if relevant
What would you like to do?
I want to use a slim docker image instead of a full one. In our corporate network, access to https://index.docker.io closed (only
registry-mirrors
), so an error occurs when executingpoetry update
. Can I redefine index.docker.io to myregistry-mirrors
url? I tried all the settings(hostRules
,registryUrls
), but I can't achieve the desired result.Please help with the solution.
The text was updated successfully, but these errors were encountered: