Google Container Registry 意外的 HTTP 状态:504 网关超时

Google Container Registry unexpected HTTP status: 504 Gateway Time-out

我制作了一个 160GB Docker 的比特币区块链映像,并尝试将其从 us-west1-b 中的 Google Compute Engine VM 推送到 Google Container Registry(gcr.io).数小时后,状态栏显示图层已传输,但消息 unexpected HTTP status: 504 Gateway Time-out 显示。当我浏览 Google Container Registry 时,我没有看到我的图像。我已经成功地从同一个虚拟机推送了 20+GB 的图像。是否有我可以更改的超时设置,或者这是在推送的 Google 端?

您可能已达到向 Google Container Registry 请求的 2 小时限制。

GCR 配额和限制:https://cloud.google.com/container-registry/quotas

Docker 图像的每一层都通过一个请求上传。您可以尝试将图像分解成更多层。