【问题标题】:Gcloud and Docker: Pushing images is failing because of insufficient spaceGcloud 和 Docker:由于空间不足,推送图像失败
【发布时间】:2015-09-14 23:28:36
【问题描述】:

我正在尝试将 2GB 的 Docker 映像上传到 Google Container 注册表:

gcloud docker push eu.gcr.io/project-id/image

我收到以下错误:

Failed to generate layer archive: write /mnt/sda1/var/lib/docker/graph/_tmp/be959f8b6f706fb75cdc24b/28450517: no space left on device '''

我遇到的另一个问题是推送失败。好像上传没有成功,然后我无法再次推送:

Error response from daemon: push eu.gcr.io/project-id/image is already in progress

顺便问一下,有没有列出所有图片的选项?

【问题讨论】:

    标签: docker google-cloud-platform gcloud google-container-registry


    【解决方案1】:

    该错误与您本地设备上的空间有关。您应该清除本地不再需要的所有旧图像。

    您可以在 Google Developers Console 中查看您的图片列表: https://console.developers.google.com/

    找到您的项目,然后选择“计算 > 容器引擎 > 容器注册表”。截至今天,无法从 CLI 列出您的图像。

    希望对您有所帮助,也请随时通过 gcr-contact@google.com 与我们联系

    【讨论】:

    • 感谢您的快速回复。现在我看到文件在推送之前被缓冲了,似乎我的空间不足了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-03-20
    • 1970-01-01
    • 1970-01-01
    • 2021-08-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多