Answer the question
In order to leave comments, you need to log in
How to get started with Docker on Windows?
Good afternoon!
I need to publish a .net core application on linux. I work from under Windows and found that containers are used to facilitate integration.
I wanted to deal with docker, I went to the site
https://docs.docker.com/docker-for-windows/
registered, downloaded clients, I press the first step: C:\Users\Pobochniy>docker run hello-world
But instead of downloading this hello-world, I get an error:
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
Answer the question
In order to leave comments, you need to log in
I had something similar when the RKN decided that docker was evil, I decided by using a proxy for docker
Not your case, probably, although it is indicated about authorization in JSON'e.
In Docker for Windows, the user can be authorized by e-mail, and docker-cli is authorized by Docker ID.
Then you need to log in to Docker for Windows using DockerID (not e-mail). For them, these are different things and it was discussed on GitHub
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question