Docker Community Forums

Share and learn in the Docker community.

Strange behavior with the visibility/listing of repositories


(Tyler Erickson) #1

I have 3 repos under my account (tylere) on DockerHub. All of the repositories are public.

One of the 4 repos (tylere/docker-tmpnb-ee) is an automated build repo that is currently failing with the error “Error pushing to registry: Authentication is required.

Another is a repository that I manually created (tylere/docker-tmpnb-ee-manual). When I attempt to push to it using the command line, it cannot be found:

docker push tylere/docker-tmpnb-ee-manual
The push refers to a repository [tylere/docker-tmpnb-ee-manual] (len: 0)
2015/06/18 14:23:25 No such id: tylere/docker-tmpnb-ee-manual

When I am logged in to DockerHub, the Repositories view for my username I currently see a list of 1 repository (tylere/ipython-server-ee). In contrast, when I view the Summary view, I see a list of 4 repositories.

When I am logged in, I see the list of 4 repositories in the Repositories view.

When I use the command line search, it only returns a single repository:

$ docker search tylere
NAME                       DESCRIPTION   STARS     OFFICIAL   AUTOMATED
tylere/ipython-server-ee                      0   

Questions:

  1. What controls the visibility of the repos? (All are public repos, and are not marked as unlisted.)
  2. Why is the list of Repositories a subset of the list of repos in Summary (when not logged in)?
  3. Why does the command line search return a subset of the repositories that I created?
  4. Is the authentication error that I receive when building tylere/docker-tmpnb-ee related to the fact that I cannot locate the repository with command line search?
  5. Is the “No such id” error that I get when pushing to

(Sabin Basyal) #2

Hi Tyler,
Here are the answers to your query:

What controls the visibility of the repos? (All are public repos, and are not marked as unlisted.)

Everything that is marked as listed will show up when using docker search or in web-ui (w/o being logged in), provided you don’t have empty repository. I checked through all your repositories and except tylere/ipython-server-ee, all 3 repositories had 0 tags. I triggered a build for tylere/docker-tmpnb-ee and when it finished successfully, I can find it being searched. ( Problem about this build discussed below )

Why is the list of Repositories a subset of the list of repos in Summary (when not logged in)?

It should be same, except for the empty or private or repositories marked as unlisted. Again, you did not see 3 of them, as all of them didn’t have any tags.

Why does the command line search return a subset of the repositories that I created?

Same answer as above

Is the authentication error that I receive when building tylere/docker-tmpnb-ee related to the fact that I cannot locate the repository with command line search?

It was a different issue. We had a problem with our permissions database – part of it was not replicating as fast as it should. When the permissions system checked to see if you have access to a new repo, the data it needed hasn’t been copied, so it denied you access.
Fixed this issue by adding new database and things are back to normal now.
I manually triggered a build for you and it is successful:
https://registry.hub.docker.com/u/tylere/docker-tmpnb-ee/build_id/68982/code/bqrfhzysgvcw7uvwsipjwa9/

Is the “No such id” error that I get when pushing to …

I am not sure about this. Should be able to push. Can you please try the following commands and post the output here?

  1. docker login
  2. docker pull busybox
  3. docker tag busybox tylere/docker-tmpnb-ee-manual:test
  4. docker push tylere/docker-tmpnb-ee-manual:test

(Layer4down) #3

Thanks, Sabin. That test helped improve my understanding and solved my problem as well :smile: