DockerCLI/cli/command/system/testdata
Sebastiaan van Stijn 8ee771114c
docker info: include Client Version and "platform name"
This patch adds additional information to the Client section of the output.
We were already outputting versions of CLI Plugins, and the Server, but not
for the Client.

Adding this information can help with bug-reports where the reporter only
provided the `docker info` output, or (e.g.) only `docker --version`. The
platform name helps identify what kind of builds the user has installed
(e.g. docker's docker-ce packages have "Docker Engine - Community" set
for this), although we should consider including "packager" information
as a more formalized field for this information.

Before this patch:

    $ docker info
    Client:
     Context:    default
     Debug Mode: false
     Plugins:
      buildx: Docker Buildx (Docker Inc.)
        Version:  v0.10.4
        Path:     /usr/libexec/docker/cli-plugins/docker-buildx
    ...

With this patch applied:

    $ docker info
    Client: Docker Engine - Community
     Version:    24.0.0-dev
     Context:    default
     Debug Mode: false
     Plugins:
      buildx: Docker Buildx (Docker Inc.)
        Version:  v0.10.4
        Path:     /usr/libexec/docker/cli-plugins/docker-buildx
    ...

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-11 18:58:41 +02:00
..
docker-client-version.golden remove "Experimental" client field from "docker version" 2022-04-08 15:48:00 +02:00
docker-client-version.json.golden cli/command/system: add platformInfo type, and fix "omitempty" 2023-04-11 18:58:39 +02:00
docker-info-badsec-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-badsec.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-badsec.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00
docker-info-daemon-warnings.json.golden docker info: include Client Version and "platform name" 2023-04-11 18:58:41 +02:00
docker-info-errors-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-errors.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-errors.json.golden Separate client and daemon info in `docker system info` 2019-01-25 14:38:04 +00:00
docker-info-legacy-warnings.json.golden docker info: include Client Version and "platform name" 2023-04-11 18:58:41 +02:00
docker-info-no-swarm.golden docker info: include Client Version and "platform name" 2023-04-11 18:58:41 +02:00
docker-info-no-swarm.json.golden docker info: include Client Version and "platform name" 2023-04-11 18:58:41 +02:00
docker-info-plugins-warnings.golden Integrate CLI plugins into `docker info` 2019-01-30 13:45:26 +00:00
docker-info-plugins.golden info: update plugin section to show installed path 2022-06-01 12:46:07 +02:00
docker-info-plugins.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00
docker-info-warnings.golden printServerWarningsLegacy: silence "No kernel memory limit support" 2021-05-04 19:17:11 +09:00
docker-info-with-labels-empty.golden info: fix output including "Labels:" if no labels were set 2022-06-05 14:44:08 +02:00
docker-info-with-labels-nil.golden info: fix output including "Labels:" if no labels were set 2022-06-05 14:44:08 +02:00
docker-info-with-swarm.golden Add DefaultAddressPools to docker info output #40388 2020-07-22 01:45:30 +08:00
docker-info-with-swarm.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00