title: Docker public registry push fails: Repository does not exist
body: <p>I'm trying to push my docker image up into the public docker registry:</p>
  
  <pre><code>$ docker login
  Username (binarybana): 
  WARNING: login credentials saved in /home/jknight/.dockercfg.
  Login Succeeded
  
  $ docker images
  REPOSITORY              TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
  binarybana/dev-fedora   latest              10c7881fbaca        24 hours ago        1.148 GB
  binarybana/fedoradev    latest              10c7881fbaca        24 hours ago        1.148 GB
  binarybana/fedora-dev   latest              10c7881fbaca        24 hours ago        1.148 GB
  &lt;none&gt;                  &lt;none&gt;              b44397dc4c99        24 hours ago        1.148 GB
  &lt;none&gt;                  &lt;none&gt;              a98c27ba4738        24 hours ago        1.141 GB
  &lt;none&gt;                  &lt;none&gt;              775c74a34add        24 hours ago        1.141 GB
  &lt;none&gt;                  &lt;none&gt;              2be2491d2354        24 hours ago        1.141 GB
  docker.io/fedora        21                  93be8052dfb8        7 days ago          241.3 MB
  
  $ docker push binarybana/dev-fedora
  
  Do you really want to push to public registry? [Y/n]: Y
  The push refers to a repository [docker.io/binarybana/dev-fedora] (len: 0)
  FATA[0001] Repository does not exist: docker.io/binarybana/dev-fedora 
  
  $ docker push binarybana/fedora-dev
  
  Do you really want to push to public registry? [Y/n]: Y
  The push refers to a repository [docker.io/binarybana/fedora-dev] (len: 0)
  FATA[0002] Repository does not exist: docker.io/binarybana/fedora-dev 
  </code></pre>
  
  <p>Yet, I've already created the repository (viewable <a href="https://registry.hub.docker.com/u/binarybana/fedora-dev/">here</a>). And I've also tried to push to repository names that I haven't already created (the first try in the example above).</p>
  
  <p>I think the (len: 0) has something to do with it, but I can't google it. Also I originally created the image from a dockerfile as:</p>
  
  <pre><code>docker build -t binarybana/fedora-dev .
  </code></pre>
  
  <p>Thanks.</p>