File: containers-storage-create-image.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 (37 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (8)
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
30
31
32
33
34
35
36
37
## containers-storage-create-image 1 "August 2016"

## NAME
containers-storage create-image - Create an image

## SYNOPSIS
**containers-storage** **create-image** [*options*...] *topLayerNameOrID*

## DESCRIPTION
Creates an image, referring to the specified layer as the one which should be
used as the basis for containers which will be based on the image.

## OPTIONS
**-n | --name** *name*

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

**-i | --id** *ID*

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

**-m | --metadata** *metadata-value*

Sets the metadata for the image to the specified value.

**-f | --metadata-file** *metadata-file*

Sets the metadata for the image to the contents of the specified file.

## EXAMPLE
**containers-storage create-image -f manifest.json -n new-image somelayer**

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