umoci-new(1)(#)
π umoci-new(1)(#) β the glow-up era π
okay bestie, so this is umoci-new(1), and it's literally the "start from a blank canvas" button for OCI images. written by Aleksa Sarai, back in DECEMBER 2016 (an icon, honestly). let's get into it π«Ά
β¨ NAME β¨
umoci new β create a blank tag in an OCI image π±
πΈ SYNOPSIS πΈ
umoci new --image=image[:tag]
that's it. that's the whole vibe. one command, one flag, infinite possibilities π
π¦ DESCRIPTION π¦
so here's the tea: umoci new creates a blank tag inside an OCI image. the created image's configuration and manifest are both set to umoci-defined default values, and there are no filesystem layer blobs added to the image at all. like, none. zero. an empty little baby image, freshly born π
once a new image is created with umoci-new(1), you can go straight in and use it with umoci-unpack(1), umoci-repack(1), and umoci-config(1) to modify that new tagged image however you see fit. no gatekeeping, no prerequisites β¨
and the reason this is iconic? it lets you create entirely new images from scratch, with no base image needed to start from. main character energy fr fr π
π OPTIONS π
the global options are defined over in umoci(1) β go check that one out, bestie.
--image=image[:tag]β this is the destination of the blank tag in the OCI image.imagemust be a path to a valid OCI image, andtagmust be a valid tag name. if a tag already exists with the nametag, it will be overwritten π (yes, really β no warning, it just goes). and iftagisn't provided at all, it defaults to"latest". periodt.
π EXAMPLE π
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). look at her go:
% umoci init --layout image
% umoci new --image image:tag
β SEE ALSO β
umoci(1), umoci-unpack(1), umoci-repack(1), umoci-config(1)
the whole friend group, honestly π«Ά
and that's the page!! sourced from new, version umoci, living under the manual name umoci-new(1)(#) πΈ go forth and make a blank tag, you've got this, no cap πβ¨π
π¦ 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