---
name: "umoci-init"
section: "1"
platform: "linux"
package: "umoci"
version: "0.6.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/umoci-init"
---

# umoci-init(1)

Create a new OCI image layout

Aleksa Sarai DECEMBER 2016

## NAME

umoci init - Create a new OCI image layout

## SYNOPSIS

**umoci init** **--layout**=*image*

## DESCRIPTION

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-new/1.md), [**umoci-tag**(1)](/umoci-tag/1.md), [**umoci-repack**(1)](/umoci-repack/1.md) and other similar commands.

## OPTIONS

The global options are defined in [**umoci**(1)](/umoci/1.md).

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

## EXAMPLE

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

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

## SEE ALSO

[**umoci**(1)](/umoci/1.md), [**umoci-new**(1)](/umoci-new/1.md)
