docker error response from daemon

docker error response from daemon get https //registry-1.docker.io/v2/ unauthorized: incorrect username or password pops up while trying to login from command prompt.

Below images for error description when I issued, docker login and then after that I gave email id and password for login.

Error message displayed as,

Error response from daemon get https //registry-1.docker.io/v2/ unauthorized: incorrect username or password

 

Resolution

When it prompted for username and password, we need to provide the actual username that was used while logging to the Browser based console. CLI username refers to the username that was created during sign up and not an email id.

When I gave the user id for login, it logged into CLI mode properly.