From 9dd5a1fbc201301068c66fbe6905f55a186ba6e1 Mon Sep 17 00:00:00 2001 From: sheltongraves <148902861+sheltongraves@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:54:08 -0500 Subject: [PATCH 1/3] Update download-rate-limit.md Added information about how storage is calculated. --- content/manuals/docker-hub/download-rate-limit.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/manuals/docker-hub/download-rate-limit.md b/content/manuals/docker-hub/download-rate-limit.md index 1bc5e1fdd28..202a06821ee 100644 --- a/content/manuals/docker-hub/download-rate-limit.md +++ b/content/manuals/docker-hub/download-rate-limit.md @@ -128,6 +128,7 @@ The following storage and repository limits apply based on your subscription, su | Team | Unlimited | Unlimited | Unlimited | Up to 50 GB | | Business | Unlimited | Unlimited | Unlimited | Up to 500 GB | +### How storage is calculated Private repository storage is calculated on a monthly basis based on the average storage used throughout the month per namespace. Docker measures your storage @@ -140,6 +141,10 @@ charged at an on-demand rate. You can [scale your limit](../subscription/scale.md) or [upgrade](../subscription/change.md) to get a higher limit. +We calculate storage based on each unique image layer (or “digest”) stored within a repository. Only unique layers contribute to your storage usage, which means if multiple images in a single repository share the same layer, you’re only billed once for that layer. However, if the same layer is used across different repositories, it will count separately in each one. + +**Example:** If 10 different repositories use the same digest, you would be billed for the storage of that digest 10 times (once per repository). However, if you have 10 versions of an image within a single repository that uses the same digest, you would only pay for that digest once. + ## Pull limit and rate limit A pull is defined as the following: From b4bfc250a4a59a80bd1afc8461dabfae77da853c Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 4 Dec 2024 15:28:56 -0800 Subject: [PATCH 2/3] Update content/manuals/docker-hub/download-rate-limit.md --- content/manuals/docker-hub/download-rate-limit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/docker-hub/download-rate-limit.md b/content/manuals/docker-hub/download-rate-limit.md index 202a06821ee..e905ae62e09 100644 --- a/content/manuals/docker-hub/download-rate-limit.md +++ b/content/manuals/docker-hub/download-rate-limit.md @@ -141,7 +141,7 @@ charged at an on-demand rate. You can [scale your limit](../subscription/scale.md) or [upgrade](../subscription/change.md) to get a higher limit. -We calculate storage based on each unique image layer (or “digest”) stored within a repository. Only unique layers contribute to your storage usage, which means if multiple images in a single repository share the same layer, you’re only billed once for that layer. However, if the same layer is used across different repositories, it will count separately in each one. +Docker Hub calculates storage based on each unique image layer (or “digest”) stored within a repository. Only unique layers contribute to your storage usage, which means if multiple images in a single repository share the same layer, you’re only billed once for that layer. However, if the same layer is used across different repositories, it will count separately in each one. **Example:** If 10 different repositories use the same digest, you would be billed for the storage of that digest 10 times (once per repository). However, if you have 10 versions of an image within a single repository that uses the same digest, you would only pay for that digest once. From b204ac64aca54360c0295ec5a2e59cddf44917f2 Mon Sep 17 00:00:00 2001 From: Sarah Sanders Date: Wed, 4 Dec 2024 15:29:29 -0800 Subject: [PATCH 3/3] Update content/manuals/docker-hub/download-rate-limit.md --- content/manuals/docker-hub/download-rate-limit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/docker-hub/download-rate-limit.md b/content/manuals/docker-hub/download-rate-limit.md index e905ae62e09..75d13b5f41b 100644 --- a/content/manuals/docker-hub/download-rate-limit.md +++ b/content/manuals/docker-hub/download-rate-limit.md @@ -143,7 +143,7 @@ a higher limit. Docker Hub calculates storage based on each unique image layer (or “digest”) stored within a repository. Only unique layers contribute to your storage usage, which means if multiple images in a single repository share the same layer, you’re only billed once for that layer. However, if the same layer is used across different repositories, it will count separately in each one. -**Example:** If 10 different repositories use the same digest, you would be billed for the storage of that digest 10 times (once per repository). However, if you have 10 versions of an image within a single repository that uses the same digest, you would only pay for that digest once. +For example, if 10 different repositories use the same digest, you would be billed for the storage of that digest 10 times (once per repository). However, if you have 10 versions of an image within a single repository that uses the same digest, you would only pay for that digest once. ## Pull limit and rate limit