Listing the tags of a Docker image on a Docker hub through the HTTP API
I would like to list the tags of a Docker image official Docker hub through its HTTP interface, but I am a bit confused. As there seems to two versions of them: https://docs.docker.com/v1.6/reference/api/registry_api/ https://docs.docker.com/v1.6/registry/spec/api/ I managed to get them through sending a GET request to this endpoint: https://index.docker.io/v1/repositories/{my-namespace}/{my-repository}/tags along with basic authentication credentials. I am not sure if there is a correct one among them, but which should I be using? Docker made a huge refactor of the registry: registry v2.0.