0
当我执行gcloud docker push
时,出现以下错误。无法从Google计算引擎实例运行gcloud docker推送
denied: Unable to create the repository, please check that you have access to do so.
gcloud info
显示了配置gcloud正确的项目名称。
有人请指导我解决这个问题吗?或者建议替代方案。
我已经试过直接登录不gcloud,登录成功,但未能推
$docker login -e [email protected] -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
$搬运工--version 泊坞版17.03的3.0 CE,建立3a232c8
它被添加到项目作为'编辑'。仍然无法正常工作 – abb
我在粘贴的命令行中看到您正在推送到存储库 'gcr.io/project/imagename'。这是对的还是你改变了,以避免显示你的图像名称?如果名称正确,则需要将其作为'EDITOR'添加到名为'project'的项目中。如果您想保留您的项目名称,请直接发送电子邮件至'gcr-contact @ google.com',以便我们可以通过电子邮件进一步讨论以协助您。谢谢! –