If you're using Docker Hub as a docker registry and using an anonymous account at some point you will hit the rate limit. To know where you stand use this:
IMAGE="ratelimitpreview/test"
TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:$IMAGE:pull" | jq -r .token)
curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/$IMAGE/manifests/latest
This will output:
RateLimit-Limit: 2500;w=21600
RateLimit-Remaining: 2495;w=21600
2500 = How many requests you can do w = The duration in seconds
Credit: https://about.gitlab.com/blog/2020/11/18/docker-hub-rate-limit-monitoring/