DockerCLI/docs/reference
Sebastiaan van Stijn 375b17a312
docker info: don't print "registry" (IndexServerAddress)
The IndexServerAddress field was  as part of the initial Windows implementation
of the engine. For legal reasons, Microsoft Windows (and thus Docker images
based on Windows) were not allowed to be distributed through non-Microsoft
infrastructure. As a temporary solution, a dedicated "registry-win-tp3.docker.io"
registry was created to serve Windows images.

Currently, this field always shows "https://index.docker.io/v1/", which is
confusing, because that address is not used for the registry (only for
authentication and "v1" search).

    docker info
    ...
    Registry: https://index.docker.io/v1/

Starting with b4ca1c7368, this field is also
no longer used during authentication, and a3d56e7d06
removed the (deprecated) ElectAuthServer() which was previously used to
query it.

Given that there's currently no practical use for this information, and
it only adds "noise" (and confusion), this patch removes it from the default
output.

For now, the field is (still) available for those that want to use it;

    docker info --format '{{.IndexServerAddress}}'
    https://index.docker.io/v1/

But it won't be printed by default.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-13 14:49:14 +02:00
..
commandline docker info: don't print "registry" (IndexServerAddress) 2023-04-13 14:49:14 +02:00
builder.md docs: dockerfile reference moved to buildkit repo 2022-06-27 11:51:46 +02:00
glossary.md Update most links in docs to use https by default 2021-10-15 15:04:36 +08:00
index.md docs: dockerfile reference moved to buildkit repo 2022-06-27 11:51:46 +02:00
run.md note `--user` args usage restriction 2023-01-17 22:45:23 +01:00