.nh .SH containers-storage-diff 1 "August 2016" .SH NAME .PP containers-storage diff - Generate a layer diff .SH SYNOPSIS .PP \fBcontainers-storage\fP \fBdiff\fP [\fIoptions\fP [...]] \fIlayerNameOrID\fP .SH DESCRIPTION .PP Generates a layer diff representing the changes made in the specified layer. If the layer was populated using a layer diff, the result aims to be bit-for-bit identical with the one that was applied, including the type of compression which was applied. .SH OPTIONS .PP \fB-f | --file\fP \fIfile\fP .PP Write the diff to the specified file instead of stdout. .PP \fB-c | --gzip\fP .PP Force the diff to be compressed using gzip compression. If the layer was populated by a layer diff, and that layer diff was compressed, this will be done automatically. .PP \fB-u | --uncompressed\fP .PP Force the diff to be uncompressed. If the layer was populated by a layer diff, and that layer diff was compressed, it will be decompressed for output. .SH EXAMPLE .PP \fBcontainers-storage diff my-base-layer\fP .SH SEE ALSO .PP containers-storage-applydiff(1) containers-storage-changes(1) containers-storage-diffsize(1)