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.
The documentation at this point in time is not very clear.
Here is what worked out for me on:
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
4 - Add the desired exceptions to your proxy