I want my website to show all the images available in a docker repo. Is it possible to plug this in somehow so that it automatically detects new images and lists it on the website.
1 Answer
In the official documentation, in Docker Registry HTTP API V2 under the sub-title list all of the tags they explained what you need (if I understood the question correctly, if not please let me know):
It may be necessary to list all of the tags under a given repository. The tags for an image repository can be retrieved with the following request:
GET /v2//tags/list The response will be in the following format:
200 OK Content-Type: application/json
{ "name": <name>, "tags": [ <tag>, ... ] }For repositories with a large number of tags, this response may be quite large. If such a response is expected, one should use the pagination.