Google云平台容器列表标签权限拒绝
执行命令时:
gcloud container images list-tags gcr.io/x/x
在终端中,我会收到以下错误:
(gcloud.container.images.list-tags)访问被拒绝:gcr.io/x/x
我需要哪个角色给用户,以便他们能够执行该命令?谢谢。
When executing the command:
gcloud container images list-tags gcr.io/x/x
In the terminal, I get the following error:
(gcloud.container.images.list-tags) Access denied: gcr.io/x/x
Which role do I need to give the user so that they are able to execute that command? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
出于仅阅读目的(例如
list-tags
),角色/storage.ObjectViewer
应该(!?)就足够了。Google容器注册表(GCR)有点令人困惑,因为:
由于
For read-only purposes (e.g.
list-tags
),roles/storage.objectViewer
should (!?) be sufficient.Google Container Registry (GCR) is slightly confusing because:
As a result of: