docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.73k stars 253 forks source link

Docker hub rate limit for pro members #701

Open shalini2385 opened 2 weeks ago

shalini2385 commented 2 weeks ago

Tell us about your request I would like to see the docker hub rate limit - for utilized and no of left pulls for the day for pro membership

Which service(s) is this request for? Pro members - for rate limit on docker hub

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Unlike anonymous user who can see rate limit details, but same doesn't hold good for pro members.

Are you currently working around the issue? No. we need to have these rate limit details as we are planning for monitoring these docker pull counts

Additional context Current curl command which doesn give details about rate limit of docker pulls. curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/library/ubuntu/manifests/latest HTTP/1.1 200 Connection established

HTTP/1.1 200 OK content-length: 1338 content-type: application/vnd.oci.image.index.v1+json docker-content-digest: sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee docker-distribution-api-version: registry/2.0 etag: "sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee" date: Thu, 29 Aug 2024 08:50:14 GMT strict-transport-security: max-age=31536000 docker-ratelimit-source: a645ce4d-4328-42eb-8241-1624241605ef

sheltongraves commented 4 days ago

Thanks for suggestion! We don't have the ability to return rate limit headers for pro accounts at this moment. However we recently launched a dashboard that you can see data for all of your pulls: Hub Usage