umoci-tag(1)

umoci-tag1

Create tags in oci images

Usage

umoci tag --image=image[:tag] new-tag

Aleksa Sarai DECEMBER 2016

Overview

Creates a new tag that is a copy of tag with the name new-tag. If new-tag already exists, it will be replaced. The original tag will be unchanged.

Options

--image=image[:tag]
The source OCI image tag to create a copy of. image must be a path to a
valid OCI image and tag must be a valid tag in the image. If tag is not
provided it defaults to "latest".

Examples

The following swaps two image tags in an OCI image.

% umoci tag --image image:to-change new
% umoci tag --image image:latest to-change
% umoci tag --image image:new latest
% umoci rm --image image:new

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From umoci 0.6.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.