Home > Back-end >  Docker Desktop unable to connect
Docker Desktop unable to connect

Time:08-11

Sending build context to Docker daemon  213.3MB
Step 1/14 : FROM python:3.9
Get "https://registry-1.docker.io/v2/": unable to connect to xx.xxx.xx.xxx:xx. Do you need an HTTP proxy?

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command docker build --pull --rm -f "Dockerfile" -t python-wa "."" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

I am getting the above error on docker desktop for windows:

It was working absolutely fine but suddenly it is stopped.

Many suggestions suggested me to restart but had no luck in fixing it.

Any idea what might what be causing this issue ?

CodePudding user response:

This could be a network issue if you are behind a corporate proxy or poor network connection.

You can try changing the network connection.

If you are using Docker desktop on windows, you can restart docker-desktop and check whether the issue persists.

CodePudding user response:

The issue was caused by Force Point which was blocking that IP. Once disabled the problem went away.

  • Related