'\" t .nh .TH podman-diff 1 .SH NAME .PP podman-diff - Inspect changes on a container or image's filesystem .SH SYNOPSIS .PP \fBpodman diff\fP [\fIoptions\fP] \fIcontainer|image\fP [\fIcontainer|image\fP] .SH DESCRIPTION .PP Displays changes on a container or image's filesystem. The container or 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 diff\fP is \fBjson\fR\&. .SS \fB--latest\fP, \fB-l\fP .PP Instead of providing the container name or ID, use the last created container. Note: the last started container can be from other users of Podman on the host machine. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) .SH EXAMPLE .EX $ podman diff container1 A /myscript.sh .EE .EX $ podman diff --format json myimage { "changed": [ "/usr", "/usr/local", "/usr/local/bin" ], "added": [ "/usr/local/bin/docker-entrypoint.sh" ] } .EE .EX $ podman diff container1 image1 A /test .EE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-container-diff(1)\fP, \fBpodman-image-diff(1)\fP .SH HISTORY .PP August 2017, Originally compiled by Ryan Cole rycole@redhat.com \[la]mailto:rycole@redhat.com\[ra]