title: docker pull command doesn't allow password and always getting Error response from daemon: unauthorized: authentication required
body: <p>I am going through a unexpected error. I am always getting the error "Error response from daemon: unauthorized: authentication required" whenever I am trying to pull <code>microsoft/mssql-server-windows:2017-latest</code> by using the blow command. </p>
  
  <p><code>C:\Users\Administrator&gt;docker pull microsoft/mssql-server-windows:2017-latest</code></p>
  
  <p>Surprisingly I am able to login when I use <code>docker login</code>, I am not sure what I am missing here. I am also able to login to <a href="https://hub.docker.com/" rel="nofollow noreferrer">https://hub.docker.com/</a> with the credentials I have. The problem exists only when I try pull. </p>
  
  <blockquote>
    <p>C:\Users\Administrator><strong>docker pull</strong>
    microsoft/mssql-server-windows:2017-latest</p>
    
    <p>Please login prior to pull: Login with your Docker ID to push and pull
    images from Docker Hub. If you don't have a Docker ID, head over to
    <a href="https://hub.docker.com" rel="nofollow noreferrer">https://hub.docker.com</a> to create one. Username: sibeeshvenu Password:
    Error response from daemon: unauthorized: authentication required</p>
    
    <p>C:\Users\Administrator><strong>docker login</strong> Login with your Docker ID to push
    and pull images from Docker Hub. If you don't have a Docker ID, head
    over to <a href="https://hub.docker.com" rel="nofollow noreferrer">https://hub.docker.com</a> to create one. Username: sibeeshvenu
    Password: <strong>Login Succeeded</strong></p>
    
    <p>C:\Users\Administrator><strong>docker pull</strong>
    microsoft/mssql-server-windows:2017-latest</p>
    
    <p>Please login prior to pull: Login with your Docker ID to push and pull
    images from Docker Hub. If you don't have a Docker ID, head over to
    <a href="https://hub.docker.com" rel="nofollow noreferrer">https://hub.docker.com</a> to create one. Username (sibeeshvenu):
    sibeeshvenu Password: Error response from <strong>daemon: unauthorized</strong>:
    authentication required</p>
    
    <p>C:\Users\Administrator></p>
  </blockquote>