containers-storage-create-layer(1)

containers-storage-create-layer1

Create a layer

Usage

containers-storage create-layer [options []] [parentLayerNameOrID]

Overview

Creates a new layer which either has a specified layer as its parent, or if no parent is specified, is empty.

Options

-n name

Sets an optional name for the layer. If a name is already in use, an error is returned.

-i | --id ID

Sets the ID for the layer. If none is specified, one is generated.

-l | --label mount-label

Sets the label which should be assigned as an SELinux context when mounting the layer.

Examples

containers-storage create-layer -f manifest.json -n new-layer somelayer

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

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