github.com/dctrud/umoci@v0.4.3-0.20191016193643-05a1d37de015/doc/man/umoci-tag.1.md (about)

     1  % umoci-tag(1) # umoci tag - Create tags in OCI images
     2  % Aleksa Sarai
     3  % DECEMBER 2016
     4  # NAME
     5  umoci tag - Create tags in OCI images
     6  
     7  # SYNOPSIS
     8  **umoci tag**
     9  **--image**=*image*[:*tag*]
    10  *new-tag*
    11  
    12  # DESCRIPTION
    13  Creates a new tag that is a copy of *tag* with the name *new-tag*. If *new-tag*
    14  already exists, it will be replaced. The original *tag* will be unchanged.
    15  
    16  # OPTIONS
    17  
    18  **--image**=*image*[:*tag*]
    19    The source OCI image tag to create a copy of. *image* must be a path to a
    20    valid OCI image and *tag* must be a valid tag in the image. If *tag* is not
    21    provided it defaults to "latest".
    22  
    23  # EXAMPLE
    24  The following swaps two image tags in an OCI image.
    25  
    26  ```
    27  % umoci tag --image image:to-change new
    28  % umoci tag --image image:latest to-change
    29  % umoci tag --image image:new latest
    30  % umoci rm --image image:new
    31  ```
    32  
    33  # SEE ALSO
    34  **umoci**(1), **umoci-remove**(1)