DOKK / manpages / debian 12 / umoci / umoci-init.1.en
umoci-init(1)(#) - umoci-init(1)(#)
Aleksa Sarai DECEMBER 2016

umoci init - Create a new OCI image layout

umoci init --layout=image

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.

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.

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

umoci(1), umoci-new(1)

umoci init