.nh .SH containers\-storage\-apply\-diff 1 "August 2016" .SH NAME .PP containers\-storage apply\-diff \- Apply a layer diff to a layer .SH SYNOPSIS .PP \fBcontainers\-storage\fP \fBapply\-diff\fP [\fIoptions\fP [...]] \fIlayerNameOrID\fP [\fIreferenceLayerNameOrID\fP] .SH DESCRIPTION .PP When a layer is first created, it contains no changes relative to its parent layer. The layer can either be mounted read\-write and its contents modified directly, or contents can be added (or removed) by applying a layer diff. A layer diff takes the form of a (possibly compressed) tar archive with additional information present in its headers, and can be produced by running \fIcontainers\-storage diff\fP or an equivalent. .PP Layer diffs are not typically applied manually. More often they are applied by a tool which is being used to import an entire image, such as \fBskopeo\fP\&. .SH OPTIONS .PP \fB\-f | \-\-file\fP \fIfilename\fP .PP Specifies the name of a file from which the diff should be read. If this option is not used, the diff is read from standard input. .SH EXAMPLE .PP \fBcontainers\-storage apply\-diff \-f 71841c97e320d6cde.tar.gz layer1\fP .SH SEE ALSO .PP containers\-storage\-changes(1) containers\-storage\-diff(1) containers\-storage\-diffsize(1)