mirror of
https://github.com/docker/cli.git
synced 2025-07-30 17:03:07 +03:00
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>
This commit is contained in:
@ -47,7 +47,8 @@ information about the `overlay2` storage driver is shown:
|
||||
```console
|
||||
$ docker info
|
||||
|
||||
Client:
|
||||
Client: Docker Engine - Community
|
||||
Version: 24.0.0
|
||||
Context: default
|
||||
Debug Mode: false
|
||||
Plugins:
|
||||
@ -126,7 +127,8 @@ Here is a sample output for a daemon running on Windows Server:
|
||||
```console
|
||||
C:\> docker info
|
||||
|
||||
Client:
|
||||
Client: Docker Engine - Community
|
||||
Version: 24.0.0
|
||||
Context: default
|
||||
Debug Mode: false
|
||||
Plugins:
|
||||
|
Reference in New Issue
Block a user