1podman-diff(1)() podman-diff(1)()
2
3
4
6 podman-diff - Inspect changes on a container or image's filesystem
7
8
10 podman diff [options] name
11
12
13 podman container diff [options] name
14
15
17 Displays changes on a container or image's filesystem. The container
18 or image will be compared to its parent layer
19
20
22 --format
23
24
25 Alter the output into a different format. The only valid format for
26 diff is json.
27
28
29 --latest, -l
30
31
32 Instead of providing the container name or ID, use the last created
33 container. If you use methods other than Podman to run containers such
34 as CRI-O, the last started container could be from either of those
35 methods.
36
37
38 The latest option is not supported on the remote client.
39
40
42 # podman diff redis:alpine
43 C /usr
44 C /usr/local
45 C /usr/local/bin
46 A /usr/local/bin/docker-entrypoint.sh
47
48
49
50 # podman diff --format json redis:alpine
51 {
52 "changed": [
53 "/usr",
54 "/usr/local",
55 "/usr/local/bin"
56 ],
57 "added": [
58 "/usr/local/bin/docker-entrypoint.sh"
59 ]
60 }
61
62
63
65 podman(1)
66
67
69 August 2017, Originally compiled by Ryan Cole rycole@redhat.com
70 ⟨mailto:rycole@redhat.com⟩
71
72
73
74 podman-diff(1)()