umoci-init(1)

umoci-init1

Create a new oci image layout

Usage

umoci init --layout=image

Aleksa Sarai DECEMBER 2016

Overview

Creates a new OCI image layout. The new OCI image does not contain any new references or blobs, but those can be created through the use of umoci-new(1), umoci-tag(1), umoci-repack(1) and other similar commands.

Options

The global options are defined in umoci(1).

--layout=image
The path where the OCI image layout will be created. The path must not exist
already or umoci-init(1) will return an error.

Examples

The following creates a brand new OCI image layout and then creates a blank tag for further manipulation with umoci-repack(1) and umoci-config(1).

% umoci init --layout image
% umoci new --image image:tag

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.