docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
232 stars 40 forks source link

Need a way to query public accessible tags from V2 repo without authorization #689

Open jjohnstn opened 8 years ago

jjohnstn commented 8 years ago

The old V1 API for querying a repo for tags did not require authorization. This has changed for V2. This should not be necessary when querying a public image tag. For example, there are 13 public images in the php repo, but because it has switched to V2, it is no longer possible to query these tags without authorization. However, a user can search php, pull php, and get all 13 of the images without any authorization.

Another request would be to have an API to discover which version a particular repo is. It was initially thought that repos of a registry would all be the same version, but this is not true. How do we query which version is being used by the repo?

This functionality is being used by the Eclipse Docker Tooling plug-ins to allow a user to pull specific images after searching for a repo.

alunduil commented 8 years ago

Along with this it would be excellent if public repositories had public manifests not just public tag listings.