I’m reacquainting myself with Docker. My first steps were dodgy. I immediately ran into problems testing if Docker was installed correctly on my Windows 10 machine, when I wanted to execute the hello-world
image.
docker run hello-world
Which threw the following error.
Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password. See 'docker run --help'.
It turned out the problem was that I was a little to eager when I signed into the Docker Hub in the Docker Settings.
After logging out with the following command it worked.
docker logout
Go figure…