1podman-diff(1)              General Commands Manual             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

DESCRIPTION

14       Displays changes on a container or image's filesystem.  The container
15       or image will be compared to its parent layer
16
17

OPTIONS

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

EXAMPLE

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

SEE ALSO

62       podman(1)
63
64

HISTORY

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