Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ubuntu code example
Example: Error “Get https://registry-1.docker.io/v2/: net/http: request canceled” while building image
in C:\Users\Moshiii\.docker
add
daemon.json:
{
"dns": ["10.1.2.3", "8.8.8.8"]
}