【发布时间】:2021-10-02 12:41:56
【问题描述】:
我正在尝试从 GCP VM 实例中的 docker 文件构建 docker 映像。 当我运行 docker build 命令时,我收到以下错误
toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
我的docker文件如下:
FROM python:3.7-slim
ENV APP_HOME app
WORKDIR $APP_HOME
COPY . .
RUN pip install Flask google-auth google-cloud-storage numpy datetime pandas sklearn
ENV PORT 8080
CMD ["python", "app_hello.py"]
这个错误的原因可能是什么?
【问题讨论】:
-
我认为您受到了影响:cloud.google.com/blog/products/containers-kubernetes/… 您也许可以从 Google 的镜像中提取 Python 图像:cloud.google.com/container-registry/docs/pulling-cached-images
标签: docker google-cloud-platform google-compute-engine