mirror of https://github.com/containers/podman.git
Merge pull request #21720 from rhatdan/docs13
[CI:DOCS] Fix up example description of podman-diff.1.md.in
This commit is contained in:
commit
da73d98da9
|
@ -27,11 +27,13 @@ Alter the output into a different format. The only valid format for **podman di
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Show container-modified files versus the container's image:
|
||||||
```
|
```
|
||||||
$ podman diff container1
|
$ podman diff container1
|
||||||
A /myscript.sh
|
A /myscript.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show container-modified files versus the container's image in JSON format:
|
||||||
```
|
```
|
||||||
$ podman diff --format json myimage
|
$ podman diff --format json myimage
|
||||||
{
|
{
|
||||||
|
@ -46,6 +48,7 @@ $ podman diff --format json myimage
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show the difference between the specified container and the image:
|
||||||
```
|
```
|
||||||
$ podman diff container1 image1
|
$ podman diff container1 image1
|
||||||
A /test
|
A /test
|
||||||
|
|
Loading…
Reference in New Issue