github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-image-diff.1.md (about) 1 % podman-image-diff(1) 2 3 ## NAME 4 podman-image-diff - Inspect changes on an image's filesystem 5 6 ## SYNOPSIS 7 **podman image diff** [*options*] *name* 8 9 ## DESCRIPTION 10 Displays changes on a container or image's filesystem. The container or image will be compared to its parent layer 11 12 ## OPTIONS 13 14 #### **--format** 15 16 Alter the output into a different format. The only valid format for diff is `json`. 17 18 ## EXAMPLE 19 20 ``` 21 # podman diff redis:old redis:alpine 22 C /usr 23 C /usr/local 24 C /usr/local/bin 25 A /usr/local/bin/docker-entrypoint.sh 26 ``` 27 28 ``` 29 # podman diff --format json redis:old redis:alpine 30 { 31 "changed": [ 32 "/usr", 33 "/usr/local", 34 "/usr/local/bin" 35 ], 36 "added": [ 37 "/usr/local/bin/docker-entrypoint.sh" 38 ] 39 } 40 ``` 41 42 ## SEE ALSO 43 podman(1) 44 45 ## HISTORY 46 August 2017, Originally compiled by Ryan Cole <rycole@redhat.com>