Error response from daemon: "https://registry-1.docker.io/v2/library" dialing registry-1.docker.io:443 container via direct connection because static system has no HTTPS proxy

Hi, I am using Windows 10, and suddenly, what was working fine before has stopped working overnight. Now, I am unable to build and bring up any of my projects. The error I am encountering is:

Error response from daemon: Head "https://registry-1.docker.io/v2/library/python/manifests/3.9": dialing registry-1.docker.io:443 container via direct connection because static system has no HTTPS proxy: connecting to 34.226.XX.XXX:443: dial tcp 34.226.XX.XXX:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I have tried every solution I could find online. I have deleted the config.json file, changed credsStore to credStore, and tried adjusting proxy settings. I even uninstalled Docker completely, tried using previous versions, and did a full clean purge, but nothing seems to work. None of these attempts have resolved the issue. I am feeling quite discouraged at this point. Could anyone please help me?

Thank you in advance.

1 Like

Just try to comment on anything related to docker in C:\Windows\System32\drivers\etc\hosts

like this
#34.228.211.243 registry-1.docker.io

Similar problem here.
This solution is not working