.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 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 image diff\fP is \fB\fCjson\fR\&.

.SH EXAMPLE
.PP
.RS

.nf
$ podman diff redis:old
C /usr
C /usr/local
C /usr/local/bin
A /usr/local/bin/docker-entrypoint.sh

.fi
.RE

.PP
.RS

.nf
$ podman diff --format json redis:old redis:alpine
{
  "changed": [
    "/usr",
    "/usr/local",
    "/usr/local/bin"
  ],
  "added": [
    "/usr/local/bin/docker-entrypoint.sh"
  ]
}

.fi
.RE

.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]
