If you have installed Docker for the first time, it is better to verify the install with the command
docker run hello-world

When you ran that command and got the error “unauthorized: incorrect username or password”, read on. Most likely you would have entered your Docker hub e-mail and password. Big mistake.
The instruction says that you should
Go back to your shell prompt and type
docker login
Enter the Docker ID and password and you should get a message that the login succeeded. Now type the first command and it will work
docker run hello-world
