问题原文
原帖链接 · Miguel · CC BY-SA 4.0
Setting up a proxy manually doesn't work on my enterprise network. When running the docker login it returns the following error message:
Error response from daemon: Get https://a/v2/: Proxy Authentication Required ( ... requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
I am running the docker instance on Windows 10.
I have tried the following 2 things for debugging:
Passing the credentials in the URL, but the proxy doesn't seem to allow basic authentication or if it does it will not accept the credentials in the parameters.
Changing the docker service account, as posted here, but that breaks the docker installation. Commands sent from the PowerShell always return an error when accessing the pipe.
I am out of options. Is there another way to solve this?
If I understand the system correctly, I need some way to pass the credentials to the proxy, because the proxy is requiring it this way. Also, it can't get the credentials from a service running with a local service account.
社区高分解答
原帖链接 · Nelssen · CC BY-SA 4.0
The documentation at this point in time is not very clear.
Here is what worked out for me on:
- Docker 19.03.5, build 633a0ea
- windows 10 Enterprise platform
1) Go to Docker Desktop > Settings > Proxies
2) Set Manual proxy configuration
3) Set your proxy and credentials at Web server and Secure Web server
- create your proxy url and credentials in this format: domain\username:[email omitted]:port
- remove special characters from domain\username:password at https://www.url-encode-decode.com/
- paste the url in the inputs for Web Server and Secure Web Server
4 - Add the desired exceptions to your proxy
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
