Repository navigation
Add DEFAULTUNIXSOCKET to no_proxy - #10133
coolljt0725 wants to merge 1 commit into
Conversation
|
Ping @jfrazelle @crosbymichael: seems like something we need to look into before 1.5. |
Signed-off-by: Lei Jitang <[email protected]>
ba50f64 to
5ae66d5
Compare
|
shoot yeah this could be a problem |
|
There is no mention of |
|
The fix is us setting |
Can you explain why? I'm not sure I see what good reason we'd have to use a proxy for a UNIX socket :-( |
|
Well for one the default sock is not always used, so what about the case where it is not. Seems unnecessary to add it to a no_proxy var. I don't see harm necessarily but it feels a bit off. |
|
So what do you suggest? Docker wide |
|
I would suggest docs covering how to set up a proxy so we don't inadvertently force setting the env variable when it might break for other people. So basically just use docs to explain and us not set |
|
we don't need a flag either, people just need to know how to set the |
|
I'm closing this for now: please @coolljt0725 or @andersjanmyr feel free to chime in if you really feel a patch is the right approach here. Right now I think @jfrazelle is right and documentation is the way to go (hence I created #10192). |
|
+1 The documentation solution is fine with me, everything works the way I expect it to. |
|
This issue stung me today, it took several hours to work out that it was the client side (not the docker service) that was set up incorrectly. Google searches for this issue took me in several wrong directions. The new documentation is too obscure - please would you consider giving the user a better error message (when http_proxy is set & no_proxy is not correct) that points to the no_proxy documentation? |
|
@rgeary1 This is fixed for unix socks in 1.6 |
Signed-off-by: Lei Jitang [email protected]
PR #9951 enable client via proxy,and this cause a problem.
When I set the
http_proxyandhttps_proxy,docker client can't workand return
FATA[0000] Error response from daemon: 404 page not foundand add/var/run/docker.sockto no_proxy, it work.
I don't konw if the fix is right or I understand the proxy correctly,please correct me if not.
Thanks.