File: containers-storage-add-names.md

package info (click to toggle)
golang-github-containers-storage 1.61.0%2Bds1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,364 kB
  • sloc: sh: 638; ansic: 389; makefile: 111; awk: 12
file content (33 lines) | stat: -rw-r--r-- 968 bytes parent folder | download
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
# containers-storage-add-names 1 "August 2016"

## NAME
containers-storage-add-names - Add names to a layer/image/container

## SYNOPSIS
**containers-storage** **add-names** [*options* [...]] *layerOrImageOrContainerNameOrID*

## DESCRIPTION
In addition to IDs, *layers*, *images*, and *containers* can have
human-readable names assigned to them in *containers-storage*.  The *add-names*
command can be used to add one or more names to them.

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

Specifies a name to add to the layer, image, or container.  If a specified name
is already used by another layer, image, or container, it is removed from that
other layer, image, or container.

## EXAMPLE

```
containers-storage add-names \
 -n my-awesome-container \
 -n my-for-realsies-awesome-container \
 f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec
```

## SEE ALSO
containers-storage-get-names(1)
containers-storage-remove-names(1)
containers-storage-set-names(1)