小编wuj*_*ido的帖子

Google Container Registry 权限

我正在尝试将 docker 映像推送到 GCP,但我仍然收到此错误:

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
Run Code Online (Sandbox Code Playgroud)

我一步一步地遵循这个https://cloud.google.com/container-registry/docs/quickstart一切正常,直到 docker push

很明显 GCP 项目

我已经试过了:

  1. 使用 gcloud 作为 Docker 凭证助手: gcloud auth configure-docker
  2. 重新安装 Cloud SDK 和 gcloud init
  3. 存储管理员角色添加到我的帐户

我做错了什么?

感谢您的任何建议

permissions docker google-cloud-platform google-container-registry

3
推荐指数
1
解决办法
2612
查看次数