0

I need to list the images that are stored in each registry. I have the user auth details, but I don't have the registry names. I need to list all the registries and the images located in each registry. Can I able to do it via Google Storage APIs?

I tried via Docker v2 APIs. Docker search is the only possible way, but I need to know the respective registry name for searching. I don't have those details. So I need another possible way to do it. Also i need to list the tags in each repo.

Sujai Sivasamy
  • 1,101
  • 3
  • 14
  • 32

2 Answers2

3

There is a list of the registry domains here.

For project-id based repositories they are essentially: {us,eu,asia}.gcr.io and gcr.io.

mattmoor
  • 1,677
  • 14
  • 9
0

yes u can do it by fetching the image metadata from Google Storage based on the region. Bucket name will be artifacts.projectID.appspot.com

Anumantha Raja
  • 261
  • 2
  • 13