[英]Google Cloud Platform container list tags permission denied
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
(gcloud.container.images.list-tags)访问被拒绝:gcr.io/x/x
Which role do I need to give the user so that they are able to execute that command?我需要赋予用户哪个角色,以便他们能够执行该命令? Thank you.
谢谢你。
For read-only purposes (eg list-tags
), roles/storage.objectViewer
should (!?) be sufficient.对于只读目的(例如
list-tags
), roles/storage.objectViewer
应该(!?)就足够了。
Google Container Registry (GCR) is slightly confusing because: Google Container Registry (GCR) 有点令人困惑,因为:
As a result of:后果:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.