diff --git a/content/manuals/docker-hub/usage/_index.md b/content/manuals/docker-hub/usage/_index.md index e543d26785..3d162f1274 100644 --- a/content/manuals/docker-hub/usage/_index.md +++ b/content/manuals/docker-hub/usage/_index.md @@ -22,10 +22,7 @@ user type, subject to fair use: | Personal (authenticated) | 100 | Unlimited | Up to 1 | | Unauthenticated users | 10 per IPv4 address or IPv6 /64 subnet | Not applicable | Not applicable | -For more details, see the following: - -- [Pull usage and limits](./pulls.md) -- [Docker Hub repositories](./repositories.md) +For more details, see [Pull usage and limits](./pulls.md). ## Fair use diff --git a/content/manuals/docker-hub/usage/pulls.md b/content/manuals/docker-hub/usage/pulls.md index 75354e7139..91f9677b43 100644 --- a/content/manuals/docker-hub/usage/pulls.md +++ b/content/manuals/docker-hub/usage/pulls.md @@ -4,6 +4,9 @@ keywords: Docker Hub, pulls, usage, limit title: Docker Hub pull usage and limits linkTitle: Pulls weight: 10 +aliases: + - /docker-hub/usage/storage/ + - /docker-hub/usage/repositories/ --- {{% include "hub-limits.md" %}} @@ -181,8 +184,8 @@ To view your current pull rate and limit: $ TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token) ``` - - To get a token with a user account, if you are authenticated (insert your - username and password in the following command): + - To get a token with a user account, if you are authenticated, insert your + username and password in the following command: ```console $ 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: 3. Examine the headers. You should see the following headers. ```text - ratelimit-limit: 100;w=21600 - ratelimit-remaining: 76;w=21600 + ratelimit-limit: 100;w=3600 + ratelimit-remaining: 20;w=3600 docker-ratelimit-source: 192.0.2.1 ``` - In the previous example, the pull limit is 100 pulls per 21600 seconds (6 - hours), and there are 76 pulls remaining. + In the previous example, the pull limit is 100 pulls per 3600 seconds (1 + hour), and there are 20 pulls remaining. If you don't see any `ratelimit` header, it could be because the image or your IP is unlimited in partnership with a publisher, provider, or an open source diff --git a/content/manuals/docker-hub/usage/repositories.md b/content/manuals/docker-hub/usage/repositories.md deleted file mode 100644 index 5ea200845b..0000000000 --- a/content/manuals/docker-hub/usage/repositories.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -description: Learn about storage usage limits for Docker Hub. -keywords: Docker Hub, usage, storage, repository -title: Docker Hub repositories -linkTitle: Number of repositories -weight: 20 -aliases: - - /docker-hub/usage/storage/ ---- - -The following number of repositories apply based on your subscription, subject to fair use: - -| Plan | Number of public repositories | Number of private repositories | -|----------|-------------------------------|----------------------------| -| Personal | Unlimited | Up to 1 private repository | -| Pro | Unlimited | Unlimited | -| Team | Unlimited | Unlimited | -| Business | Unlimited | Unlimited | - -## View storage usage and repositories - -You can view your storage usage on the [Usage page](https://hub.docker.com/usage/storage) in Docker Hub.