From 8cbbd631d384e947c693ef533d6322ec5c459f8e Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 17 Feb 2024 13:36:24 -0500 Subject: [PATCH] Fix up example description of podman-history.1.md Signed-off-by: Daniel J Walsh --- docs/source/markdown/podman-history.1.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/markdown/podman-history.1.md b/docs/source/markdown/podman-history.1.md index ef40f9783f..09808d4ac9 100644 --- a/docs/source/markdown/podman-history.1.md +++ b/docs/source/markdown/podman-history.1.md @@ -54,6 +54,7 @@ Print the numeric IDs only (default *false*). ## EXAMPLES +Show history of specified image: ``` $ podman history debian ID CREATED CREATED BY SIZE COMMENT @@ -61,6 +62,7 @@ b676ca55e4f2c 9 weeks ago /bin/sh -c #(nop) CMD ["bash"] 0 9 weeks ago /bin/sh -c #(nop) ADD file:ebba725fb97cea4... 45.14 MB ``` +Show history of specified image without truncating content and using raw data: ``` $ podman history --no-trunc=true --human=false debian ID CREATED CREATED BY SIZE COMMENT @@ -68,12 +70,14 @@ b676ca55e4f2c 2017-07-24T16:52:55Z /bin/sh -c #(nop) CMD ["bash"] 2017-07-24T16:52:54Z /bin/sh -c #(nop) ADD file:ebba725fb97cea4... 45142935 ``` +Show formatted history of specified image: ``` $ podman history --format "{{.ID}} {{.Created}}" debian b676ca55e4f2c 9 weeks ago 9 weeks ago ``` +Show history in json format for specified image: ``` $ podman history --format json debian [