Google cloud platform 我需要对服务帐户拥有什么权限才能将docker映像推送到容器注册表?
我正在使用服务帐户通过Google cloud platform 我需要对服务帐户拥有什么权限才能将docker映像推送到容器注册表?,google-cloud-platform,google-cloud-iam,Google Cloud Platform,Google Cloud Iam,我正在使用服务帐户通过gcloudutillity进行身份验证。我正在尝试使用以下命令推送docker图像: gcloud docker——推eu.gcr.io/abcxyz/example:latest 但是得到一个错误: denied: Unable to create the repository, please check that you have access to do so. 我需要启用什么权限?在GCP的IAM和管理部分,您需要将存储.Admin和/或存储.object.Ad
gcloud
utillity进行身份验证。我正在尝试使用以下命令推送docker图像:
gcloud docker——推eu.gcr.io/abcxyz/example:latest
但是得到一个错误:
denied: Unable to create the repository, please check that you have access to do so.
我需要启用什么权限?在GCP的IAM和管理部分,您需要将
存储.Admin
和/或存储.object.Admin
角色添加到您的服务帐户中。这在文档中有详细说明
提供的链接中似乎没有记录这一点。