Google Container Registry permission

浪子不回头ぞ 提交于 2020-01-06 08:05:29

问题


I am trying to push docker image to GCP, but i am still getting this error:

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

I follow this https://cloud.google.com/container-registry/docs/quickstart step by step and everything works fine until docker push

It's clear GCP project

I've already tried:

  1. use gcloud as a Docker credential helper: gcloud auth configure-docker
  2. reinstall Cloud SDK and gcloud init
  3. add Storage Admin role to my account

What I am doing wrong?

Thanks for any suggestions

来源:https://stackoverflow.com/questions/59592243/google-container-registry-permission

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!