列出GCR私人注册表图像 [英] List GCR private registry images
问题描述
我需要列出存储在每个注册表中的图像。我有用户身份验证详细信息,但我没有注册表名称。我需要列出所有注册表和每个注册表中的图像。我可以通过 Google Storage API 来实现吗?
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?
我尝试通过 Docker v2 API 。 Docker搜索是唯一可行的方法,但我需要知道用于搜索的相应的注册表名称。我没有这些细节。所以我需要另一种可能的方法来做到这一点。此外,我需要列出每个仓库中的标签。
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.
推荐答案
有一个注册域域列表此处。
project-id
基于它们的存储库: {us,eu,asia} .gcr.io
和 gcr .io
。
For project-id
based repositories they are essentially: {us,eu,asia}.gcr.io
and gcr.io
.
这篇关于列出GCR私人注册表图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!