File: containers-storage-create-storage-layer.md

package info (click to toggle)
golang-github-containers-storage 1.59.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,184 kB
  • sloc: sh: 630; ansic: 389; makefile: 143; awk: 12
file content (29 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## containers-storage-create-storage-layer 1 "September 2022"

## NAME
containers-storage create-storage-layer - Create a layer in a lower-level storage driver

## SYNOPSIS
**containers-storage** **create-storage-layer** [*options* [...]] [*parentLayerNameOrID*]

## DESCRIPTION
Creates a new layer using the lower-level storage driver which either has a
specified layer as its parent, or if no parent is specified, is empty.

## OPTIONS
**-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.

## EXAMPLE
**containers-storage create-storage-layer somelayer**

## SEE ALSO
containers-storage-create-container(1)
containers-storage-create-image(1)
containers-storage-delete-layer(1)