Docker unable to connect to corporate proxy

Hi,

So I’ve been trying to learn docker and I’m having trouble with my corporate proxy. I’m running on Windows.

Whenever I try to do anything related to docker hub I get this error:

“Error response from daemon: Get “https://registry-1.docker.io/v2/”: unable to connect to HTTP proxy 127.0.0.1:9000”

If I disable the proxy settings I get this error:

“Error response from daemon: Get “https://registry-1.docker.io/v2/”: unable to connect to 52.71.127.58:443. Do you need an HTTP proxy?”.

I’ve been stuck on this for days now. Any help appreciated.

Are you running Docker Desktop for Windows? Docker-CE in WSL2 or a VM directly?

I’m running on Docker Desktop for Windows.

What kind of proxy do you have if it is running locally? You could configure Docker Desktop to use proxy connection, but I don’ think that would not work if you need to use 127.0.0.1 as a proxy IP.

When you say

do you mean the proxy settings on Docker Desktop or somewhere else on your Windows?

Hi,

I was using docker desktop on macOS smoothly until now, but now I am getting the following error:

Error response from daemon: Get “https://registry-1.docker.io/v2/”: unable to connect to 44.207.51.64:443. Do you need an HTTP proxy?.

Any help would be appreciated.