github.com/sshnaidm/storage@v1.12.13/docs/containers-storage-create-layer.md (about) 1 ## containers-storage-create-layer 1 "August 2016" 2 3 ## NAME 4 containers-storage create-layer - Create a layer 5 6 ## SYNOPSIS 7 **containers-storage** **create-layer** [*options* [...]] [*parentLayerNameOrID*] 8 9 ## DESCRIPTION 10 Creates a new layer which either has a specified layer as its parent, or if no 11 parent is specified, is empty. 12 13 ## OPTIONS 14 **-n** *name* 15 16 Sets an optional name for the layer. If a name is already in use, an error is 17 returned. 18 19 **-i | --id** *ID* 20 21 Sets the ID for the layer. If none is specified, one is generated. 22 23 **-m | --metadata** *metadata-value* 24 25 Sets the metadata for the layer to the specified value. 26 27 **-f | --metadata-file** *metadata-file* 28 29 Sets the metadata for the layer to the contents of the specified file. 30 31 **-l | --label** *mount-label* 32 33 Sets the label which should be assigned as an SELinux context when mounting the 34 layer. 35 36 ## EXAMPLE 37 **containers-storage create-layer -f manifest.json -n new-layer somelayer** 38 39 ## SEE ALSO 40 containers-storage-create-container(1) 41 containers-storage-create-image(1) 42 containers-storage-delete-layer(1)