DOKK / manpages / debian 11 / containers-storage / containers-storage-diff.1.en
() ()

containers-storage diff - Generate a layer diff

containers-storage diff [options [...]] layerNameOrID

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.

-f | --file file

Write the diff to the specified file instead of stdout.

-c | --gzip

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.

-u | --uncompressed

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.

containers-storage diff my-base-layer

containers-storage-applydiff(1) containers-storage-changes(1) containers-storage-diffsize(1)