DockerCLI/docs/reference/commandline
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
..
attach.md docs: generate markdown 2023-01-06 22:36:47 +01:00
build.md docs: update engine versions in some examples 2023-04-10 15:08:38 +02:00
builder.md docs: generate markdown 2023-01-06 22:36:47 +01:00
builder_build.md docs: generate markdown 2023-01-06 22:36:47 +01:00
builder_prune.md docs: generate markdown 2023-01-06 22:36:47 +01:00
checkpoint.md docs: generate markdown 2023-01-06 22:36:47 +01:00
checkpoint_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
checkpoint_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
checkpoint_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
cli.md docs: generate markdown 2023-01-06 22:36:47 +01:00
commit.md docs: generate markdown 2023-01-06 22:36:47 +01:00
config.md docs: generate markdown 2023-01-06 22:36:47 +01:00
config_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
config_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
config_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
config_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_attach.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_commit.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_cp.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_diff.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_exec.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_export.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_kill.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_logs.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_pause.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_port.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_prune.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_rename.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_restart.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_rm.md docs: regenerate markdown docs 2023-04-09 13:36:36 +02:00
container_run.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_start.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_stats.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_stop.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_top.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_unpause.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
container_wait.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_export.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_import.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_show.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
context_use.md docs: generate markdown 2023-01-06 22:36:47 +01:00
cp.md docs: generate markdown 2023-01-06 22:36:47 +01:00
create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
diff.md docs: generate markdown 2023-01-06 22:36:47 +01:00
dockerd.md Fix grammar in docs by adding omitted word 2023-03-30 15:19:55 +02:00
events.md docs: generate markdown 2023-01-06 22:36:47 +01:00
exec.md Fix typo in reference doc for docker 2023-01-23 14:05:21 -08:00
export.md docs: generate markdown 2023-01-06 22:36:47 +01:00
history.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_build.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_history.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_import.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_load.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_prune.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_pull.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_push.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_save.md docs: generate markdown 2023-01-06 22:36:47 +01:00
image_tag.md docs: generate markdown 2023-01-06 22:36:47 +01:00
images.md docs: generate markdown 2023-01-06 22:36:47 +01:00
import.md docs: generate markdown 2023-01-06 22:36:47 +01:00
index.md Add stack config command 2022-04-08 14:56:01 +02:00
info.md docker info: include Client Version and "platform name" 2023-04-11 18:58:41 +02:00
inspect.md docs: inspect: remove trailing whitespace from example 2023-01-07 12:24:14 +01:00
kill.md docs: generate markdown 2023-01-06 22:36:47 +01:00
load.md docs: generate markdown 2023-01-06 22:36:47 +01:00
login.md docs: generate markdown 2023-01-06 22:36:47 +01:00
logout.md docs: generate markdown 2023-01-06 22:36:47 +01:00
logs.md docs: generate markdown 2023-01-06 22:36:47 +01:00
manifest.md docs: generate markdown 2023-01-06 22:36:47 +01:00
manifest_annotate.md docs: generate markdown 2023-01-06 22:36:47 +01:00
manifest_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
manifest_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
manifest_push.md docs: generate markdown 2023-01-06 22:36:47 +01:00
manifest_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_connect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_disconnect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_prune.md docs: generate markdown 2023-01-06 22:36:47 +01:00
network_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node_demote.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node_ls.md docs: update engine versions in some examples 2023-04-10 15:08:38 +02:00
node_promote.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node_ps.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
node_update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
pause.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_disable.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_enable.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_install.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_ls.md docs: fix duplicated format anchor in plugin_ls 2023-01-13 16:22:26 +01:00
plugin_push.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_set.md docs: generate markdown 2023-01-06 22:36:47 +01:00
plugin_upgrade.md docs: generate markdown 2023-01-06 22:36:47 +01:00
port.md docs: generate markdown 2023-01-06 22:36:47 +01:00
ps.md Fix section docker ps --size 2023-01-18 13:17:35 +03:30
pull.md docs: generate markdown 2023-01-06 22:36:47 +01:00
push.md docs: generate markdown 2023-01-06 22:36:47 +01:00
rename.md docs: generate markdown 2023-01-06 22:36:47 +01:00
restart.md docs: generate markdown 2023-01-06 22:36:47 +01:00
rm.md docs: regenerate markdown docs 2023-04-09 13:36:36 +02:00
rmi.md docs: generate markdown 2023-01-06 22:36:47 +01:00
run.md docs: generate markdown 2023-01-06 22:36:47 +01:00
save.md docs: generate markdown 2023-01-06 22:36:47 +01:00
search.md docs: generate markdown 2023-01-06 22:36:47 +01:00
secret.md docs: generate markdown 2023-01-06 22:36:47 +01:00
secret_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
secret_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
secret_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
secret_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_logs.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_ps.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_rollback.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_scale.md docs: generate markdown 2023-01-06 22:36:47 +01:00
service_update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack_config.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack_deploy.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack_ps.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stack_services.md docs: generate markdown 2023-01-06 22:36:47 +01:00
start.md docs: generate markdown 2023-01-06 22:36:47 +01:00
stats.md changed the container name in docker stats page 2023-02-14 18:45:54 +01:00
stop.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_ca.md docs: add note about MKE CA rotation, which is potentially dangerous 2023-01-27 08:19:27 -07:00
swarm_init.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_join-token.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_join.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_leave.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_unlock-key.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_unlock.md docs: generate markdown 2023-01-06 22:36:47 +01:00
swarm_update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
system.md docs: generate markdown 2023-01-06 22:36:47 +01:00
system_df.md docs: generate markdown 2023-01-06 22:36:47 +01:00
system_dial-stdio.md docs: generate markdown 2023-01-06 22:36:47 +01:00
system_events.md docs: generate markdown 2023-01-06 22:36:47 +01:00
system_info.md fix docker info --format=json not outputting json format 2023-04-10 14:26:28 +02:00
system_prune.md docs: generate markdown 2023-01-06 22:36:47 +01:00
tag.md docs: generate markdown 2023-01-06 22:36:47 +01:00
top.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_key.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_key_generate.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_key_load.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_revoke.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_sign.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_signer.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_signer_add.md docs: generate markdown 2023-01-06 22:36:47 +01:00
trust_signer_remove.md docs: generate markdown 2023-01-06 22:36:47 +01:00
unpause.md docs: generate markdown 2023-01-06 22:36:47 +01:00
update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
version.md Merge pull request #4168 from thaJeztah/docker_info_json 2023-04-11 18:43:16 +02:00
volume.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_inspect.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_prune.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_rm.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_update.md docs: generate markdown 2023-01-06 22:36:47 +01:00
wait.md docs: generate markdown 2023-01-06 22:36:47 +01:00