carta
containers-storage-applydiff-using-staging-dir(1)

containers-storage-applydiff-using-staging-dir1

Apply a layer diff to a layer using a staging directory

Usage

containers-storage applydiff-using-staging-dir layerNameOrID source

Overview

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 containers-storage diff or an equivalent.

Differently than apply-diff, the command applydiff-using-staging-dir first creates a staging directory and then moves the final result to the destination.

Examples

containers-storage applydiff-using-staging-dir 5891b5b522 /path/to/diff

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)

From containers-common 1:0.69.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.