mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00
Merge pull request #21720 from rhatdan/docs13
[CI:DOCS] Fix up example description of podman-diff.1.md.in
This commit is contained in:
@ -27,11 +27,13 @@ Alter the output into a different format. The only valid format for **podman di
|
||||
|
||||
## EXAMPLE
|
||||
|
||||
Show container-modified files versus the container's image:
|
||||
```
|
||||
$ podman diff container1
|
||||
A /myscript.sh
|
||||
```
|
||||
|
||||
Show container-modified files versus the container's image in JSON format:
|
||||
```
|
||||
$ 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
|
||||
A /test
|
||||
|
Reference in New Issue
Block a user