From 4f84c086fd944242cb882a8141f76bb55d42af10 Mon Sep 17 00:00:00 2001 From: Ismail Alidzhikov Date: Fri, 1 Dec 2023 12:28:24 +0200 Subject: [PATCH] Update the gotcha in the proxy guide Signed-off-by: Ismail Alidzhikov --- docs/content/recipes/mirror.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/content/recipes/mirror.md b/docs/content/recipes/mirror.md index 915e481f..524ef1dd 100644 --- a/docs/content/recipes/mirror.md +++ b/docs/content/recipes/mirror.md @@ -22,8 +22,7 @@ relying entirely on your local registry is the simplest scenario. ### Gotcha -It's currently not possible to mirror another private registry. Only the central -Hub can be mirrored. +It's currently possible to mirror only one upstream registry at a time. The URL of a pull-through registry mirror must be the root of a domain. No path components other than an optional trailing slash (`/`) are allowed. @@ -126,6 +125,11 @@ and add the `registry-mirrors` key and value, to make the change persistent. > > The mirror URL must be the root of the domain. +> **Note** +> +> Currently Docker daemon supports only mirrors of Docker Hub. +> It is not possible to run the Docker daemon against a pull through cache with another upstream registry. + Save the file and reload Docker for the change to take effect. > Some log messages that appear to be errors are actually informational messages.