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 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.
32
33
34 The latest option is not supported on the remote client.
35
36
38 # podman diff redis:alpine
39 C /usr
40 C /usr/local
41 C /usr/local/bin
42 A /usr/local/bin/docker-entrypoint.sh
43
44
45
46 # podman diff --format json redis:alpine
47 {
48 "changed": [
49 "/usr",
50 "/usr/local",
51 "/usr/local/bin"
52 ],
53 "added": [
54 "/usr/local/bin/docker-entrypoint.sh"
55 ]
56 }
57
58
59
61 podman(1)
62
63
65 August 2017, Originally compiled by Ryan Cole rycole@redhat.com
66 ⟨mailto:rycole@redhat.com⟩
67
68
69
70 podman-diff(1)()