title: Logging into docker
body: <p>I am unable to push to dockerhub and I think it is because of an authentication problem.</p>
  
  <p>I am following the instructions in <a href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html" rel="nofollow">http://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html</a></p>
  
  <p>I have logged into docker (Step 9a).  I am pretty sure I am logged in because I get this output:</p>
  
  <pre><code>WARNING: login credentials saved in /home/fedora/.docker/config.json
  Login Succeeded
  </code></pre>
  
  <p>However, when I try to verify my login (Step 9b), I do not see any Username <code>docker info | grep Username</code> yields nothing.</p>
  
  <p>Then when I skip ahead to step 9c, it does not work because:</p>
  
  <pre><code>f4e8ebedd614: Preparing 
  unauthorized: access to the requested resource is not authorized
  </code></pre>
  
  <p>suggesting I was not really logged in.</p>
  
  <p>To be sure, I logged out and relogged in using bogus credentials.  In that case, I get <code>Error response from daemon: Wrong login/password, please try again</code></p>
  
  <p>Then I logged out and relogged in again using the correct credentials, and steps 9b and 9c continue to not work.</p>