1podman-image-diff(1)        General Commands Manual       podman-image-diff(1)
2
3
4

NAME

6       podman-image-diff - Inspect changes on an image's filesystem
7
8

SYNOPSIS

10       podman image diff [options] image [image]
11
12

DESCRIPTION

14       Displays  changes on an image's filesystem.  The image will be compared
15       to its parent layer or the second argument when given.
16
17
18       The output is prefixed with the following symbols:
19
20
21       ┌───────┬────────────────────────────────┐
22Symbol Description                    
23       ├───────┼────────────────────────────────┤
24       │A      │ A file or directory was added. │
25       ├───────┼────────────────────────────────┤
26       │D      │ A  file   or   directory   was │
27       │       │ deleted.                       │
28       ├───────┼────────────────────────────────┤
29       │C      │ A   file   or   directory  was │
30       │       │ changed.                       │
31       └───────┴────────────────────────────────┘
32

OPTIONS

34   --format
35       Alter the output into a different format.  The only  valid  format  for
36       podman image diff is json.
37
38

EXAMPLE

40              $ podman diff redis:old
41              C /usr
42              C /usr/local
43              C /usr/local/bin
44              A /usr/local/bin/docker-entrypoint.sh
45
46
47
48              $ podman diff --format json redis:old redis:alpine
49              {
50                "changed": [
51                  "/usr",
52                  "/usr/local",
53                  "/usr/local/bin"
54                ],
55                "added": [
56                  "/usr/local/bin/docker-entrypoint.sh"
57                ]
58              }
59
60
61

SEE ALSO

63       podman(1), podman-image(1)
64
65

HISTORY

67       August   2017,  Originally  compiled  by  Ryan  Cole  rycole@redhat.com
68       ⟨mailto:rycole@redhat.com⟩
69
70
71
72                                                          podman-image-diff(1)
Impressum