.nh .TH podman-container-diff 1 .SH NAME .PP podman-container-diff - Inspect changes on a container's filesystem .SH SYNOPSIS .PP \fBpodman container diff\fP [\fIoptions\fP] \fIcontainer\fP [\fIcontainer\fP] .SH DESCRIPTION .PP Displays changes on a container's filesystem. The container will be 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 . \fB\fCSymbol\fR \fB\fCDescription\fR 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 container diff\fP is \fB\fCjson\fR\&. .SS \fB--latest\fP, \fB-l\fP .PP Instead of providing the container name or ID, use the last created container. If you use methods other than Podman to run containers such as CRI-O, the last started container could be from either of those methods. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) .SH EXAMPLE .PP .RS .nf # podman container diff container1 C /usr C /usr/local C /usr/local/bin A /usr/local/bin/docker-entrypoint.sh .fi .RE .PP .RS .nf $ podman container diff --format json container1 container2 { "added": [ "/test" ] } .fi .RE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-container(1)\fP .SH HISTORY .PP July 2021, Originally compiled by Paul Holzinger pholzing@redhat.com \[la]mailto:pholzing@redhat.com\[ra]