toomanyrequests:您已达到拉取率限制.您可以通过身份验证和升级来增加限制 [英] toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading

查看:14
本文介绍了toomanyrequests:您已达到拉取率限制.您可以通过身份验证和升级来增加限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我想使用 CodeBuild 从 CodeCommit 中的 Dockerfile 构建映像时,为什么会发生这种情况?

Why does this happen, when I want to build an image from a Dockerfile in CodeCommit with CodeBuild?

我收到此错误:

toomanyrequests:您已达到拉取率限制.您可以通过身份验证和升级来增加限制:https://www.docker.com/increase-rate-限制

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 hub 拉取镜像,因为 docker 对拉取镜像有限制.

Try not to pull the images from the docker hub because docker has throttling for pulling the images.

使用 ECR(Elastic Container Registry) 获取私有镜像和 Amazon ECR Public Gallery 用于公共 docker 图像.针对处理 Docker Hub 速率限制的客户的建议,以及即将推出的公告,了解 AWS 处理此问题的建议.

Use ECR(Elastic Container Registry) for private images and Amazon ECR Public Gallery for public docker images. Advice for customers dealing with Docker Hub rate limits, and a Coming Soon announcement for the advice from AWS for handling this.

这篇关于toomanyrequests:您已达到拉取率限制.您可以通过身份验证和升级来增加限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆