Update the gotcha in the proxy guide (#4164)

This commit is contained in:
Milos Gajdos 2023-12-15 18:20:52 +00:00 committed by GitHub
commit 79ef555f8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,7 @@ relying entirely on your local registry is the simplest scenario.
### Gotcha ### Gotcha
It's currently not possible to mirror another private registry. Only the central It's currently possible to mirror only one upstream registry at a time.
Hub can be mirrored.
The URL of a pull-through registry mirror must be the root of a domain. 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. 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. > 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. Save the file and reload Docker for the change to take effect.
> Some log messages that appear to be errors are actually informational messages. > Some log messages that appear to be errors are actually informational messages.