【问题标题】:Compute Engine fails to connect to Container RegistryCompute Engine 无法连接到 Container Registry
【发布时间】: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

我在一个计算引擎实例上,所以我相信它已经配置为拉?我还检查了服务帐户和角色

我什至将存储查看器角色添加到我的计算引擎服务帐户

这里有什么问题?


【问题讨论】:

标签: docker google-cloud-platform google-compute-engine google-iam


【解决方案1】:

除了权限之外,您还需要对计算引擎进行身份验证才能连接到容器注册表。详情请见Advanced Authentication

【讨论】:

    猜你喜欢
    • 2017-06-03
    • 1970-01-01
    • 2015-10-12
    • 2020-09-25
    • 1970-01-01
    • 2017-06-29
    • 2021-12-22
    • 2020-12-11
    • 1970-01-01
    相关资源
    最近更新 更多