当我这样做时,gcloud docker push
我收到以下错误。
denied: Unable to create the repository, please check that you have access to do so.
gcloud info
显示 gcloud 中配置的正确项目名称。
有人可以指导我解决这个问题吗?或提出替代方案。
我试过不用gcloud直接登录,登录成功但是推送失败
$docker login -e 2983212121577-compute@developer.gserviceaccount.com -u oauth2accesstoken -p "$(gcloud auth print-access-token)" https://gcr.io
Flag --email has been deprecated, will be removed in 1.14.
Login Succeeded
$ docker push gcr.io/project/imagename
...
denied: Unable to create the repository, please check that you have access to do so.
$ gcloud --version 谷歌云 SDK 147.0.0
$ docker --version Docker 版本 17.03.0-ce,构建 3a232c8