hub/billing: cleanup hub pull docs (#22133)

## Description
Cleanup from DH pull limit updates:
- Removed redundant page
- Added redirects for removed page: `repositories.md`
- Updated the DH limit example to be in line with new limits + small
grammar nit

## Related issues or tickets
- https://docker.atlassian.net/browse/ENGDOCS-2455
- https://github.com/docker/docs/issues/22132

## Reviews
- [ ] Editorial review
This commit is contained in:
Sarah Sanders 2025-02-28 11:36:39 -05:00 committed by GitHub
parent 8db8f5f2ed
commit 1f684b9b92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 32 deletions

View File

@ -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

View File

@ -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

View File

@ -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.