Configuring Proxy Authentication for Pull

Guys, running docker for windows behind a corporate proxy. how to configure authentication against that proxy when doing things likes pulls?

1 Like

go to settings and then proxy and set the value of proxy there

Thanks for taking the time to reply but I’m aware of that config item. How to I configure authentication though? My proxy requires username and password to be submitted.

pass the username and password like below

http://username:42%40e1zyu@example.com:8080
like you pass in url, one more thing special character in not allowed in password, here %40 is ansi code for some special character in password, you have to search ansi code for you special character in password and replace it in password

1 Like

Many thanks! That’s it! I had a # in the password so had to use code %23. All working now. Thanks for taking time to help me out.

Also, just in case anyone else comes across this. I found that this only works when in windows container mode and not if in Linux container mode!

1 Like