gcloud docker push 403 Forbidden

前端 未结 2 1149
长发绾君心
长发绾君心 2021-01-18 09:01

I am trying to push a docker image to eu.gcr.io and I am getting 403 Forbidden

gcloud docker push  eu.gcr.io//:latest                


        
2条回答
  •  一向
    一向 (楼主)
    2021-01-18 09:20

    Looks like the problem is that the (local) docker tag was incorrect, the tag was the "project name" instead of "gcloud project id" so by changing the tag to contain the project the push works.

提交回复
热议问题