umoci-init(1)(#)
π umoci-init(1) β the "make a whole new OCI image layout" girlie π
okay bestie, gather round, because this is the manual page for umoci init β that's umoci-init(1) if we're being formal, and we are not. written by Aleksa Sarai back in DECEMBER 2016, and it's still serving. π«Ά
β¨ NAME β¨
umoci init β Create a new OCI image layout π
like. it makes the layout. that's the whole job. and it eats every time. π
β¨ SYNOPSIS β¨
umoci init --layout=image
that's it. one flag. one path. iconic minimalism. β¨
π¦ DESCRIPTION π¦
So what actually happens here? umoci init creates a new OCI image layout. brand new. fresh out the box. π
but here's the tea, and it's important tea: the new OCI image does not contain any new references or blobs. none. zero. it's giving empty vessel, main character energy, waiting for its glow-up. β¨
so how do you fill it? bestie, you don't do it here. you use umoci-new(1), umoci-tag(1), umoci-repack(1) and other similar commands. they're the ones who actually put stuff in. umoci init just builds the vibes. π¦
π OPTIONS π
The global options are defined in umoci(1). yes, the whole global situation lives over there, go check her out. π
--layout=imageβ The path where the OCI image layout will be created. and the path must not exist already, orumoci-init(1)will return an error. no cap. so like, don't point it at a folder that's already there, she will simply refuse. π
πΈ EXAMPLE πΈ
okay so here's the little demo, and it's a good one. 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
first line: build the layout. second line: pop a blank tag in there so umoci-repack(1) and umoci-config(1) can come through later and do their thing. two commands. done. slay. π₯
π SEE ALSO π
β οΈ reminder bestie: if that layout path already exists, umoci-init(1) returns an error. it's not being mean, it's just boundaries. π«Ά
and that's the whole page fr fr. this little manual comes to you from the umoci source, page umoci-init(1)(#), written by Aleksa Sarai, dated DECEMBER 2016. bye bestie, go make a layout πβ¨π
π¦ where this page comes from
- arch rolling: umoci 0.6.0-1 Β· Apache-2.0
- fedora 43: umoci 0.6.0-1.fc43 Β· Apache-2.0 AND MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC
- fedora 44: umoci 0.6.0-3.fc44 Β· Apache-2.0 AND MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC
- nixos 26.05: umoci 0.6.0
- nixpkgs unstable: umoci 0.6.0
- ubuntu stonking: umoci 0.6.0+ds-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms