【问题标题】:Google Container Registry: push reports "Repository does not exist"Google Container Registry:推送报告“存储库不存在”
【发布时间】:2016-10-01 13:40:21
【问题描述】:

我已经在 Google Cloud Shell 中构建了一个 docker 映像,现在想将其推送到 Google Container Registry (GCR) 中。我收到以下错误消息:

$ sudo docker push eu.gcr.io/<project>/<image>
The push refers to a repository [eu.gcr.io/<project>/<image>] (len: 0)
Repository does not exist: eu.gcr.io/<project>/<image>

然而,我可以在 Google Cloud Console 中看到存储库及其内容(即在与 Google Cloud Shell 相同的浏览器窗口中),这在以前也有效。我之前也执行过gcloud docker 进行身份验证。

可能出了什么问题,我怎样才能成功地将 Docker 映像推送到 GCR 中?

【问题讨论】:

  • 那是一个很棒的头像@Drux
  • @the0ther “我喜欢饼干和好答案!Yumm。”

标签: docker google-container-registry


【解决方案1】:

德鲁克斯:

如果您仍然有兴趣找出在使用 Google Cloud Shell 时出了什么问题,请告诉我,我们可以尝试进行调查。您的症状通常意味着一些本地问题,而不是服务器端问题,尽管一切皆有可能。

【讨论】:

  • 感谢您的跟进,稍后我会回复您的提议。
【解决方案2】:

我已恢复使用dedicated VM instance(而不是 Google Cloud Shell)来构建和推送图像。这样问题就迎刃而解了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-06
    • 2020-04-23
    • 2015-10-10
    • 2019-05-29
    相关资源
    最近更新 更多