["python","amazon-web-services","docker","dockerfile","aws-codebuild"]
toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading

Why does this happen, when I want to build an image from a Dockerfile in CodeCommit with CodeBuild? I get this Error: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Try not to pull the images from the docker hub because docker has throttling for pulling the images. 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. Update: Docker Hub will only allow an unauthenticated 10/pulls per hour starting March 1st