-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
BusyBox wget does not correctly handle SSL over HTTPS proxy #487
Comments
In general - the image does not support proxying. See related ticket such as #465 I'm not sure of your particular configuration as it looks like the resolution is resolving to your local proxy (have you change the Dockerfile or is there a proxy configured externally in your network perimeter?) Fundamentally I see no issue with changing However, i still don't think it addresses the general proxy use case and ideally we'd support something like the |
I have modified
hence proxy was setup correctly and wget correctly identifies and uses it. The issue is about this very combination: TLS over proxy. In general it would be nice to generalize the issue to something like "Support proxy", but in this particular case it was easier for me to go minor replacement of |
Thanks for the response. I believe from my investigation of #465 - |
My setup is behind a corporate proxy and I was able to get it to work with wget by making the following change in the Dockerfile From:
To:
and adding the following proxy config to the ~/.docker/config.json file as indicated in https://docs.docker.com/network/proxy/
|
There seems to be an issue in busybox `wget` with SSL proxy: wurstmeister/kafka-docker#487
It seems that build-in BusyBox wget (v1.27.2 2017-12-12 10:41:50 GMT) is not capable to handle SSL traffic via proxy (
10.1.2.3:8080
in my case). Example:The advise to
apk add --ca-certificates openssl && update-ca-certificates
didn't help (probably because BusyBox wget is not GNU wget):Solution
Use
curl
instead ofwget
inDockerfile
:The text was updated successfully, but these errors were encountered: