'\" t .nh .TH podman-image-diff 1 .SH NAME .PP podman-image-diff - Inspect changes on an image's filesystem .SH SYNOPSIS .PP \fBpodman image diff\fP [\fIoptions\fP] \fIimage\fP [\fIimage\fP] .SH DESCRIPTION .PP Displays changes on an image's filesystem. The image is compared to its parent layer or the second argument when given. .PP The output is prefixed with the following symbols: .TS allbox; l l l l . \fBSymbol\fP \fBDescription\fP A A file or directory was added. D T{ A file or directory was deleted. T} C T{ A file or directory was changed. T} .TE .SH OPTIONS .SS \fB--format\fP .PP Alter the output into a different format. The only valid format for \fBpodman image diff\fP is \fBjson\fR\&. .SH EXAMPLE .EX $ podman diff redis:old C /usr C /usr/local C /usr/local/bin A /usr/local/bin/docker-entrypoint.sh .EE .EX $ podman diff --format json redis:old redis:alpine { "changed": [ "/usr", "/usr/local", "/usr/local/bin" ], "added": [ "/usr/local/bin/docker-entrypoint.sh" ] } .EE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-image(1)\fP .SH HISTORY .PP August 2017, Originally compiled by Ryan Cole rycole@redhat.com \[la]mailto:rycole@redhat.com\[ra]