Skip to content
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

Using behind "Pull through cache" #697

Closed
ajcollett opened this issue Jun 7, 2019 · 1 comment
Closed

Using behind "Pull through cache" #697

ajcollett opened this issue Jun 7, 2019 · 1 comment

Comments

@ajcollett
Copy link

ajcollett commented Jun 7, 2019

Hello! So I don't know if I am being thick here, but I can't see how to set things up so the image will use a pull through cache I have setup?

I have no internet access on the Kubernetes cluster being used to build images, so I have a docker pull-through cache setup on another machine.

When Kaniko tries to build something, based off another image, it fails, because it gets a time out trying to pull from docker hub.

How do I tell Kaniko to use the pull-through cache? I have set this up for the hosts running docker so the cluster normally pulls images through the cache.

In docker, I usually set this is daemon.json, or at run-time for the docker daemon.

For reference: https://docs.docker.com/registry/recipes/mirror/

@ajcollett
Copy link
Author

This is actually a duplicate of: #406

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant