From a49afdbd98c59ccad56b99412bb28b7a4db64b21 Mon Sep 17 00:00:00 2001 From: Ben De St Paer-Gotch Date: Tue, 20 Apr 2021 11:39:12 +0100 Subject: [PATCH] Adding in points to clarify usage of official images (#12713) * Adding in points to clarify usage of official images * Minor style update Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com> --- docs/recipes/mirror.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/recipes/mirror.md b/docs/recipes/mirror.md index 949a8118b..8d5b73811 100644 --- a/docs/recipes/mirror.md +++ b/docs/recipes/mirror.md @@ -16,6 +16,10 @@ to the internet and fetches an image it doesn't have locally, from the Docker repository. You can run a local registry mirror and point all your daemons there, to avoid this extra internet traffic. +> **Note** +> +> Docker Official Images are an intellectual property of Docker. Distributing Docker Official Images to third parties without a prior agreement can constitute a violation of [Docker Terms of Service](https://www.docker.com/legal/docker-terms-service){: target="blank" rel="noopener" class=“”}. + ### Alternatives Alternatively, if the set of images you are using is well delimited, you can @@ -29,6 +33,10 @@ relying entirely on your local registry is the simplest scenario. It's currently not possible to mirror another private registry. Only the central Hub can be mirrored. +> **Note** +> +> Mirrors of Docker Hub are still subject to Docker's [fair usage policy](https://www.docker.com/pricing/resource-consumption-updates){: target="blank" rel="noopener" class=“”}. + ### Solution The Registry can be configured as a pull through cache. In this mode a Registry @@ -117,4 +125,4 @@ Save the file and reload Docker for the change to take effect. > ``` > > It's telling you that the file doesn't exist yet in the local cache and is -> being pulled from upstream. \ No newline at end of file +> being pulled from upstream.