genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.89k stars 230 forks source link

[Question] Is there any way to use a pull through docker registry #265

Open weikinhuang opened 4 years ago

weikinhuang commented 4 years ago

If I run a bunch of builds in a stateless CI using a in-house k8s cluster. I would incur a lot of bandwidth from pulling down the same images over and over again.

The docker daemon allows for a pull through registry for caching. Is there a way for img to specify that docker.io images should pass through this proxy instead of going to the docker hub?

The only solution I can think of right now is pulling from the pull through registry, then re-tagging with a docker.io prefix.

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.79. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

piersharding commented 3 years ago

Hi - With the rate limiting that docker has applied since November,2020, this is now more of a consideration. Is there any plans to support this? Thanks, Piers.

dkowsley commented 3 years ago

Is this issue going to remain unaddressed? Is this project still maintained? There hasn't been a commit in 7 months and this question has been open for nearly 2 years.