@@ -4,6 +4,9 @@ keywords: Docker Hub, pulls, usage, limit
44title : Docker Hub pull usage and limits
55linkTitle : Pulls
66weight : 10
7+ aliases :
8+ - /docker-hub/usage/storage/
9+ - /docker-hub/usage/repositories/
710---
811
912{{% include "hub-limits.md" %}}
@@ -181,8 +184,8 @@ To view your current pull rate and limit:
181184 $ TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
182185 ```
183186
184- - To get a token with a user account, if you are authenticated ( insert your
185- username and password in the following command) :
187+ - To get a token with a user account, if you are authenticated, insert your
188+ username and password in the following command:
186189
187190 ```console
188191 $ TOKEN=$(curl --user 'username:password' "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
@@ -200,13 +203,13 @@ To view your current pull rate and limit:
2002033 . Examine the headers. You should see the following headers.
201204
202205 ``` text
203- ratelimit-limit: 100;w=21600
204- ratelimit-remaining: 76 ;w=21600
206+ ratelimit-limit: 100;w=3600
207+ ratelimit-remaining: 20 ;w=3600
205208 docker-ratelimit-source: 192.0.2.1
206209 ```
207210
208- In the previous example, the pull limit is 100 pulls per 21600 seconds (6
209- hours ), and there are 76 pulls remaining.
211+ In the previous example, the pull limit is 100 pulls per 3600 seconds (1
212+ hour ), and there are 20 pulls remaining.
210213
211214 If you don't see any ` ratelimit ` header, it could be because the image or your IP
212215 is unlimited in partnership with a publisher, provider, or an open source
0 commit comments