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>
This commit is contained in:
Ben De St Paer-Gotch 2021-04-20 11:39:12 +01:00 committed by GitHub
parent b2ac3a2884
commit a49afdbd98

View file

@ -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 repository. You can run a local registry mirror and point all your daemons
there, to avoid this extra internet traffic. 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 ### Alternatives
Alternatively, if the set of images you are using is well delimited, you can 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 It's currently not possible to mirror another private registry. Only the central
Hub can be mirrored. 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 ### Solution
The Registry can be configured as a pull through cache. In this mode a Registry 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 > It's telling you that the file doesn't exist yet in the local cache and is
> being pulled from upstream. > being pulled from upstream.