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
please add support for socks5 proxy #5989
Comments
+1, We need this too |
+10086 , i got this fucking gfw problems too... |
+1 |
Just linking in case it's useful; another issue related to GFW; #11093 (possibly useful tip as well here: #11093 (comment)) |
+1 |
+12306 |
+1 #$%$! |
+1, Thanks |
+6 |
+1 |
+1 |
@usertaken perhaps you are interested in creating a PR to describe this? Thinking of an extra section in https://github.com/docker/docker/blob/master/docs/articles/systemd.md (similar to the proxy example/section)? |
👍 |
USER POLL The best way to get notified when there are changes in this discussion is by clicking the Subscribe button in the top right. The people listed below have appreciated your meaningfull discussion with a random +1: |
+1 |
+1 |
+1 |
+1 this machine could kill fascists. |
+1 |
1 similar comment
+1 |
It's useful! |
Submitted a PR to support this: #18373 Try it out! |
thanks @nathanleclaire ! |
@nathanleclaire Awesome. |
@KellerFuchs I'm not 100% sure. My PR routes the requests from the Docker client to the Docker API through the SOCKS proxy by controlling the low-level |
@KellerFuchs I think actually it will not route DNS requests, because the Golang |
Awesome, thanks. |
Closed by #20366 |
@samos123 Use $ HTTP_PROXY=socks5://localhost:5000 docker info |
+1 |
@xbaran +1 for what? This is already added. |
Setting the environment variable for the execution of the |
|
How to use it in image? For example use it in "docker run centos: latest"@nathanleclaire |
@windowsair You can't configure it in an image level setting, it's something that gets set to dictate the behavior of the |
@nathanleclaire couldn't you do |
@smiller171 If you mean will The Docker daemon pulls the images. The Docker client (the binary you are invoking when you type |
@nathanleclaire |
@windowsair You're asking about the traffic from the container going over the proxy? AFAIK this would need to be configured either in the container, or configuring a Docker network that forces all traffic over the proxy. These settings are for configuring how the client talks to the daemon, or how the daemon talks to the registry. |
hi, i live behind the GFW, and unfortunately the cdn-registry-1 has been block at my location.
i hope you could add support for socks5 proxy , i knew you have HTTP_PROXY support,
but i think socks5 proxy are more popular and convenient, cause everyone could simply use
ssh user@host -D 9999
to launch a simple proxy server at onceThe text was updated successfully, but these errors were encountered: