mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
Fix up example description of podman-history.1.md
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -54,6 +54,7 @@ Print the numeric IDs only (default *false*).
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
|
Show history of specified image:
|
||||||
```
|
```
|
||||||
$ podman history debian
|
$ podman history debian
|
||||||
ID CREATED CREATED BY SIZE COMMENT
|
ID CREATED CREATED BY SIZE COMMENT
|
||||||
@@ -61,6 +62,7 @@ b676ca55e4f2c 9 weeks ago /bin/sh -c #(nop) CMD ["bash"] 0
|
|||||||
<missing> 9 weeks ago /bin/sh -c #(nop) ADD file:ebba725fb97cea4... 45.14 MB
|
<missing> 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
|
$ podman history --no-trunc=true --human=false debian
|
||||||
ID CREATED CREATED BY SIZE COMMENT
|
ID CREATED CREATED BY SIZE COMMENT
|
||||||
@@ -68,12 +70,14 @@ b676ca55e4f2c 2017-07-24T16:52:55Z /bin/sh -c #(nop) CMD ["bash"]
|
|||||||
<missing> 2017-07-24T16:52:54Z /bin/sh -c #(nop) ADD file:ebba725fb97cea4... 45142935
|
<missing> 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
|
$ podman history --format "{{.ID}} {{.Created}}" debian
|
||||||
b676ca55e4f2c 9 weeks ago
|
b676ca55e4f2c 9 weeks ago
|
||||||
<missing> 9 weeks ago
|
<missing> 9 weeks ago
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show history in json format for specified image:
|
||||||
```
|
```
|
||||||
$ podman history --format json debian
|
$ podman history --format json debian
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user