# Docker login problems

**URL:** <https://forums.docker.com/t/docker-login-problems/27551>\
**Category:** General\
**Tags:** docker\
**Created:** [January 24, 2017, 6:35pm UTC](https://forums.docker.com/t/docker-login-problems/27551 "2017-01-24T18:35:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthik1008](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karthik1008](https://forums.docker.com/u/karthik1008)\
**Post date:** [January 24, 2017, 6:35pm UTC](https://forums.docker.com/t/docker-login-problems/27551/1 "2017-01-24T18:35:27Z")

</div>

0  
down vote  
favorite  
Created username password on [hub.docker.com](http://hub.docker.com) but I still get authentication error when I run docker run hello-world, and even when I run “docker login” then enter my credentials …but it shows a success message when I do “docker login -u myusername -p mypassword [https://hub.docker.com](https://hub.docker.com)” but even after that if I try to run docker run hello-world I get the same error “error response from daemon: login attempt to [https://registry-1.docker.io/v2/](https://registry-1.docker.io/v2/) failed with status: 401 Unauthorized” (I am using windows 10 OS)
