DockerCLI/docs/reference/commandline
Sebastiaan van Stijn 6dfdd1eae9
cli/command/system: fix "docker events" not supporting --format=json
Before this patch:

    docker events --format=json
    json
    json
    json
    ^C

With this patch:

    docker events --format=json
    {"status":"create","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"create","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508190136885}
    {"status":"attach","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"attach","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508192851593}
    {"Type":"network","Action":"connect","Actor":{"ID":"c54920dd5074a73e28bea62007e0334d81cc040a90372be311cf16806403d350","Attributes":{"container":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","name":"bridge","type":"bridge"}},"scope":"local","time":1693168508,"timeNano":1693168508212398802}
    {"status":"start","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"start","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508312969843}
    ^C

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-29 14:48:49 +02:00
..
attach.md docs: move "--detach-keys" example to examples section 2023-06-08 14:35:03 +02:00
build.md update flag-description for --cgroup-parent 2023-08-23 11:39:32 +02:00
builder.md docs: generate markdown 2023-01-06 22:36:47 +01:00
builder_build.md update flag-description for --cgroup-parent 2023-08-23 11:39:32 +02: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: add missing docs for "DOCKER_TLS" env-var 2023-07-19 15:03:40 +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/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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 Add docs for health-start-interval 2023-07-06 19:41:34 +00: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 Add docs for health-start-interval 2023-07-06 19:41:34 +00: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 Add docs for health-start-interval 2023-07-06 19:41:34 +00:00
diff.md docs: generate markdown 2023-01-06 22:36:47 +01:00
dockerd.md docs: document special host-gateway value for add-host 2023-08-08 17:37:44 +02:00
events.md cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02: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 update flag-description for --cgroup-parent 2023-08-23 11:39:32 +02: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 Update docs/command output for volume pruning 2023-08-12 14:22:23 +01:00
info.md Merge pull request #4510 from thaJeztah/info_cdi_dirs 2023-08-28 12:19:16 +02:00
inspect.md docs/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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: rephrase section on credential stores for docker login 2023-06-01 17:27:50 +02:00
logout.md docs: generate markdown 2023-01-06 22:36:47 +01:00
logs.md docs/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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 Correct "ps --no-trunc" example output 2023-05-11 17:28:20 -05:00
pull.md docs: update dockerd usage output for new proxy-options 2023-04-12 18:47:00 +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 13:36:36 +02:00
rmi.md docs: generate markdown 2023-01-06 22:36:47 +01:00
run.md Merge pull request #4399 from dvdksn/docs/host-gateway 2023-08-08 21:04:47 +02:00
save.md docs: generate markdown 2023-01-06 22:36:47 +01:00
search.md search: deprecate "is-automated" filter and "IsAutomated" field 2023-08-09 12:11:05 +02: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/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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/reference: update links to Go documentation 2023-08-25 14:10:40 +02:00
service_inspect.md docs/reference: update links to Go documentation 2023-08-25 14:10:40 +02:00
service_logs.md docs/reference: update links to Go documentation 2023-08-25 14:10:40 +02: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 Add docs for health-start-interval 2023-07-06 19:41:34 +00: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 update cli-docs-tool to v0.6.0 2023-08-28 01:58:58 +02: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 cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
system_info.md fix docker info --format=json not outputting json format 2023-04-10 14:26:28 +02:00
system_prune.md Update docs/command output for volume pruning 2023-08-12 14:22:23 +01:00
tag.md Update tag docs to clarify name 2023-05-08 10:10:51 -07: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 Update docs/command output for volume pruning 2023-08-12 14:22:23 +01:00
volume_create.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_inspect.md docs/reference: update links to Go documentation 2023-08-25 14:10:40 +02:00
volume_ls.md docs: generate markdown 2023-01-06 22:36:47 +01:00
volume_prune.md Update docs/command output for volume pruning 2023-08-12 14:22:23 +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