mirror of https://github.com/docker/docs.git
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:
parent
8db8f5f2ed
commit
1f684b9b92
|
@ -22,10 +22,7 @@ user type, subject to fair use:
|
||||||
| Personal (authenticated) | 100 | Unlimited | Up to 1 |
|
| Personal (authenticated) | 100 | Unlimited | Up to 1 |
|
||||||
| Unauthenticated users | 10 per IPv4 address or IPv6 /64 subnet | Not applicable | Not applicable |
|
| Unauthenticated users | 10 per IPv4 address or IPv6 /64 subnet | Not applicable | Not applicable |
|
||||||
|
|
||||||
For more details, see the following:
|
For more details, see [Pull usage and limits](./pulls.md).
|
||||||
|
|
||||||
- [Pull usage and limits](./pulls.md)
|
|
||||||
- [Docker Hub repositories](./repositories.md)
|
|
||||||
|
|
||||||
## Fair use
|
## Fair use
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ keywords: Docker Hub, pulls, usage, limit
|
||||||
title: Docker Hub pull usage and limits
|
title: Docker Hub pull usage and limits
|
||||||
linkTitle: Pulls
|
linkTitle: Pulls
|
||||||
weight: 10
|
weight: 10
|
||||||
|
aliases:
|
||||||
|
- /docker-hub/usage/storage/
|
||||||
|
- /docker-hub/usage/repositories/
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% include "hub-limits.md" %}}
|
{{% 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)
|
$ 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
|
- To get a token with a user account, if you are authenticated, insert your
|
||||||
username and password in the following command):
|
username and password in the following command:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ TOKEN=$(curl --user 'username:password' "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
|
$ 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.
|
3. Examine the headers. You should see the following headers.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
ratelimit-limit: 100;w=21600
|
ratelimit-limit: 100;w=3600
|
||||||
ratelimit-remaining: 76;w=21600
|
ratelimit-remaining: 20;w=3600
|
||||||
docker-ratelimit-source: 192.0.2.1
|
docker-ratelimit-source: 192.0.2.1
|
||||||
```
|
```
|
||||||
|
|
||||||
In the previous example, the pull limit is 100 pulls per 21600 seconds (6
|
In the previous example, the pull limit is 100 pulls per 3600 seconds (1
|
||||||
hours), and there are 76 pulls remaining.
|
hour), and there are 20 pulls remaining.
|
||||||
|
|
||||||
If you don't see any `ratelimit` header, it could be because the image or your IP
|
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
|
is unlimited in partnership with a publisher, provider, or an open source
|
||||||
|
|
|
@ -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.
|
|
Loading…
Reference in New Issue