summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-05 16:11:42 +0200
committerGitHub <noreply@github.com>2019-08-05 16:11:42 +0200
commitfff496436e89a290fd37b357419fd0f072ad5e88 (patch)
tree0ae2941e14666b2ca56a675af59eecefe5ab46ef /docs
parent626dfdb6131a5f37c2f7cc93dbb98f33d495aca4 (diff)
parent0ad374af6a7552a68736e68fd4093809844a171f (diff)
downloadpodman-fff496436e89a290fd37b357419fd0f072ad5e88.tar.gz
podman-fff496436e89a290fd37b357419fd0f072ad5e88.tar.bz2
podman-fff496436e89a290fd37b357419fd0f072ad5e88.zip
Merge pull request #3171 from QiWang19/events_json
podman events format json
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-events.1.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/podman-events.1.md b/docs/podman-events.1.md
index 2097bb1f9..ed3faedfd 100644
--- a/docs/podman-events.1.md
+++ b/docs/podman-events.1.md
@@ -68,7 +68,7 @@ Print usage statement.
**--format**
-Format the output using the given Go template. An output value of *json* is not supported.
+Format the output to JSON Lines or using the given Go template.
**--filter**=*filter*
@@ -134,6 +134,13 @@ $ sudo podman events --since 5m
2019-03-02 10:44:42.374637304 -0600 CST pod create ca731231718e (image=, name=webapp)
```
+Show podman events in JSON Lines format
+```
+events --format json
+{"ID":"683b0909d556a9c02fa8cd2b61c3531a965db42158627622d1a67b391964d519","Image":"localhost/myshdemo:latest","Name":"agitated_diffie","Status":"cleanup","Time":"2019-04-27T22:47:00.849932843-04:00","Type":"container"}
+{"ID":"a0f8ab051bfd43f9c5141a8a2502139707e4b38d98ac0872e57c5315381e88ad","Image":"docker.io/library/alpine:latest","Name":"friendly_tereshkova","Status":"unmount","Time":"2019-04-28T13:43:38.063017276-04:00","Type":"container"}
+```
+
## SEE ALSO
podman(1)