1podman-diff(1)()                                              podman-diff(1)()
2
3
4

NAME

6       podman-diff - Inspect changes on a container or image's filesystem
7
8

SYNOPSIS

10       podman diff [options] name
11
12
13       podman container diff [options] name
14
15

DESCRIPTION

17       Displays  changes  on a container or image's filesystem.  The container
18       or image will be compared to its parent layer
19
20

OPTIONS

22   --format
23       Alter the output into a different format.  The only  valid  format  for
24       diff is json.
25
26
27   --latest, -l
28       Instead  of  providing  the  container name or ID, use the last created
29       container. If you use methods other than Podman to run containers  such
30       as  CRI-O,  the  last  started  container could be from either of those
31       methods. (This option is not available with the remote Podman client)
32
33

EXAMPLE

35              # podman diff redis:alpine
36              C /usr
37              C /usr/local
38              C /usr/local/bin
39              A /usr/local/bin/docker-entrypoint.sh
40
41
42
43              # podman diff --format json redis:alpine
44              {
45                "changed": [
46                  "/usr",
47                  "/usr/local",
48                  "/usr/local/bin"
49                ],
50                "added": [
51                  "/usr/local/bin/docker-entrypoint.sh"
52                ]
53              }
54
55
56

SEE ALSO

58       podman(1)
59
60

HISTORY

62       August  2017,  Originally  compiled  by  Ryan  Cole   rycole@redhat.com
63       ⟨mailto:rycole@redhat.com⟩
64
65
66
67                                                              podman-diff(1)()
Impressum