DockerCLI/docs/reference/commandline
Sebastiaan van Stijn 2c1fde2239
fix docker info --format=json not outputting json format
The --format=json option was added for all inspect commands, but was not implemented
for "docker info". This patch implements the missing option.

Before this patch:

    docker info --format=json
    json

With this patch applied:

    docker info --format=json
    {"ID":"80c2f18a-2c88-4e4a-ba69-dca0eea59835","Containers":7,"ContainersRunning":"..."}

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 46234b82e2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-26 12:12:25 +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 16:51:44 +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/reference: use table for proxy env-vars 2023-04-13 13:59:38 +02: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 23:00:16 +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 docs: update dockerd usage output for new proxy-options 2023-04-13 13:59:39 +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 fix docker info --format=json not outputting json format 2023-04-26 12:12:25 +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 16:51:44 +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: update dockerd usage output for new proxy-options 2023-04-13 13:59:39 +02: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 23:00:16 +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-15 11:53:36 +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-26 12:12:25 +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 docs: update engine versions in some examples 2023-04-10 16:51:44 +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