cri-o/vendor/github.com/containers/storage/docs/oci-storage-set-metadata.md

27 lines
668 B
Markdown
Raw Normal View History

## 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)