27 lines
668 B
Markdown
27 lines
668 B
Markdown
|
## oci-storage-set-metadata 1 "August 2016"
|
||
|
|
||
|
## NAME
|
||
|
oci-storage set-metadata - Set metadata for a layer, image, or container
|
||
|
|
||
|
## SYNOPSIS
|
||
|
**oci-storage** **set-metadata** [*options* [...]] *layerOrImageOrContainerNameOrID*
|
||
|
|
||
|
## DESCRIPTION
|
||
|
Updates the metadata associated with a layer, image, or container. Metadata is
|
||
|
intended to be small, and is expected to be cached in memory.
|
||
|
|
||
|
## OPTIONS
|
||
|
**-f | --metadata-file** *filename*
|
||
|
|
||
|
Use the contents of the specified file as the metadata.
|
||
|
|
||
|
**-m | --metadata** *value*
|
||
|
|
||
|
Use the specified value as the metadata.
|
||
|
|
||
|
## EXAMPLE
|
||
|
**oci-storage set-metadata -m "compression: gzip" my-layer**
|
||
|
|
||
|
## SEE ALSO
|
||
|
oci-storage-metadata(1)
|