error response from daemon get https //registry-1.docker.io/v2/ net/http request canceled while 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"]
}