【发布时间】:2019-12-03 14:39:02
【问题描述】:
我正在尝试提取我的 Container Registry docker 映像,但它失败了:
Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication
我在一个计算引擎实例上,所以我相信它已经配置为拉?我还检查了服务帐户和角色
我什至将存储查看器角色添加到我的计算引擎服务帐户
这里有什么问题?
【问题讨论】:
-
除了权限之外,您还需要对计算引擎进行身份验证才能连接到容器注册表。 cloud.google.com/container-registry/docs/…
-
@MR.K 你可以把你的评论作为答案:)
标签: docker google-cloud-platform google-compute-engine google-iam