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
Can containerd set a http proxy to download image? #1990
Comments
@allencloud containerd does not download images itself, this operation is all performed on the client. In the case of dockerd... currently dockerd still performs all pull operations and is not using the image/content store provided by containerd, but even if/when dockerd does rely on containerd for this, dockerd will still do the actual pull and shove the pits into containerd. |
@allencloud |
@allencloud Closing this, as we have solution. If that doesn't work, let me know. |
@stevvooe another question: |
@hmtai that should be a PR to |
@crosbymichael yeah,I really need this feature. Does anyone else prepare to do this?Anyway,that's very kind of you to answer my question. |
With |
I am trying to setup kubernetes cluster with containerd 1.1. But when I am running kubeadm init, the setup is failing because the required images are not getting pulled. I have proper proxy setting in place but still images are not getting pulled. Please find below the logs: # kubeadm init --kubernetes-version=1.11.0 --token-ttl=0 --cri-socket=/var/run/containerd/containerd.sockI0706 20:29:14.471588 30718 feature_gate.go:230] feature gates: &{map[]} |
How so, can you test this by using |
add a environment variable in containerd can work fine in my environment, and the service file like below:
|
I made the entries in service file and it worked. Thanks! |
Can containerd set multiple http proxy to download image? Similar to docker,When there is a problem with the first http proxy, downgrade to the second http proxy。 |
You can use |
Solved my problem, thanks 😃 |
Hi, All,
Here I have a question for containerd. Do container support setting a proxy when downloading images?
We all know that in docker, we can set a proxy to help download images. While I think contained 1.0.0 starts to take over the image downloading things.
Does container support this? If not, is this in the roadmap of containerd? Maybe we can contribute to this.
Thanks.
The text was updated successfully, but these errors were encountered: