I installed docker (1.10.2) on windows 10 & ran docker run hello-world . But, I’m getting an authentication error while the tutorial doesn’t mentioned anything about it.
Here’s the message I received.
$ docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Authentication is required: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password. See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.
I searched google & SO but couldn’t find anything exactly similar to this.
I had the same problem. It turns out that the CLI (docker login) needs your USERNAME (not e-mail address), even though the e-mail address works for the docker web site or desktop UI.
In Mac book Terminal, Enter “docker login” and then enter the docker ID not the email ID that you will use generally for login.
and then enter the password it will work.
Is it mandatory as soon as laptop got rebooted we need to authenticate ourself every time?
I dint faced this issue on Ubuntu desktop but i faced this issue on my Mac
i was using direct installing from Ubuntu 18.04.3 LTS repositories,was in a mess even for me the docker would be giving out the same error.
i tried installing all confusing docker.io docker.ce,
but then
i uninstalled everything and followed steps from the given link thanks