来自守护程序的错误响应:获取 https://gcr.io/v2/xxx/xxx/xxxx/xx: 未知:无法解析 json 密钥

Error response from daemon: Get https://gcr.io/v2/xxx/xxx/xxxx/xx: unknown: Unable to parse json key

我正在尝试从我的 CD 工具 (DroneIO) 中提取私有 GCR 映像,但生成了以下错误。

来自守护程序的错误响应:获取 https://gcr.io/v2/xxx/xxx/xxxx/xx:未知:无法解析 json 密钥。

我正在使用创建服务帐户时生成的 json 文件

您是否遵循了https://cloud.google.com/container-registry/docs/advanced-authentication#json_key_file中描述的步骤?从错误消息来看,似乎 json 密钥可能以某种方式无效,或者您传递 json 密钥的方式可能有问题。