【发布时间】:2018-03-17 02:45:06
【问题描述】:
我知道您可以执行以下操作来检索特定图像的标签列表:
gcloud 容器镜像列表 --repository=gcr.io/myproject
但我想知道我是否也可以使用 gcloud CLI 来检索没有标签的图像。
无标签图像显示在 Google 云控制台 Web 界面中。
解决方案
gcloud 容器镜像列表标签 gcr.io/myproject/repo --filter='-tags:*'
【问题讨论】:
标签: gcloud google-container-registry gcloud-cli