-
Notifications
You must be signed in to change notification settings - Fork 56
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
Feature request: support the ability to configure a registry mirror #37
Comments
I started taking a look at this to get an idea of what would be needed. From what I can tell we need to start An example config I found was at https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md Testing myself, I generated a config with a reference to a mirror
The output of
But then I used So I'm thinking to support this we'll need code to generate a I plan to try and take a stab at this. Feel free to let me know any thoughts. 😄 |
@jmccann While I hadn't dug as deeply as did you (thanks!) on the technical details & proof, I agree with your conclusion; I think a |
I was also wondering if it was possible to set up a registry mirror with auth through this as well? Currently I'm just writing stuff into |
Thanks for your work on
oci-build-task
! Is it worth exposing to users the ability to configure a registry mirror with a pull-through cache?Why would this be helpful?
Docker Hub will begin exposing strict rate limits November 1. Concourse issue 6073 seeks to develop a plan for dealing with the rate limits, discussion around which mentions perhaps providing Concourse users the ability to configure a global registry mirror with a pull-through cache.
However, I don't believe Concourse issue 6073 discussion currently accounts for the rate limiting that will be imposed on Concourse users of the
oci-build-task
whoseDockerfile
s leverageFROM
directives pulling images fromhub.docker.com
. If I understand correctly,oci-build-task
users would benefit from the ability to configureoci-build-task
to use a registry mirror with a pull-through cache as well such that, if configured, directives likeFROM foo/bar
would attempt to pullfoo/bar
from the configured registry mirror rather than the rate-limitedhub.docker.com
.Context
My team currently operates a rather large Concourse instance serving hundreds of teams and thousands of developers, many of whom use the
oci-build-task
in concert with the registry-image-resource to build and publish container images. I believe these users would greatly benefit from the ability to configure a registry mirror in their pipelines' use ofoci-build-task
.The text was updated successfully, but these errors were encountered: