BOOTC-CONTAINER-UKIFY(8)
π BOOTC-CONTAINER-UKIFY β the bootc-container-ukify(8) page, but make it cute β¨
okay bestie, welcome to bootc-container-ukify(8) from the System Manager's Manual π«Ά this is the one that builds you a Unified Kernel Image and honestly it's giving main character energy.
πΈ NAME
bootc-container-ukify β Build a Unified Kernel Image (UKI) using ukify π
β¨ SYNOPSIS
bootc container ukify [OPTIONS] [-- UKIFY_ARGS...]
π¦ DESCRIPTION
Build a Unified Kernel Image (UKI) using ukify. no cap, that's the whole vibe.
This command computes the necessary arguments from the container image (kernel, initrd, cmdline, os-release) and then invokes ukify with them. literally it does the homework for you π and any additional arguments you drop after -- are passed through to ukify unchanged β untouched, unbothered, iconic.
Unless --erofs-version=v2 is specified, the generated UKI contains the V1 composefs argument followed by a V2 fallback. and bestie, hear me: the command does not inspect the initramfs to choose a format. Explicit V2 emits only the legacy V2 argument. When using the default output, the initramfs in the image must be regenerated with a bootc version that supports V1 before the UKI is built. yes that's a whole prerequisite, we don't make the rules π
π OPTIONS
ARGSβ Additional arguments to pass toukify(after--)--rootfs=ROOTFSβ Operate on the provided rootfs. Default:/--allow-missing-verityβ Make fs-verity validation optional in case the filesystem doesn't support it. (the "no fs-verity? that's fine, we move" flag π«Ά)--erofs-version=EROFS_VERSIONβ EROFS format version to use when computing the composefs digest- Possible values:
v1v2
- Possible values:
--write-dumpfile-to=WRITE_DUMPFILE_TOβ Write a dumpfile to this path π--kernel-dir=KERNEL_DIRβ The directory containing the kernel andinitramfs.img. Must be of the format/parent/$kernel_versionβ
π EXAMPLES
okay so here's the moment you've been waiting for, the actual demo:
bootc container ukify --rootfs /target -- --output /output/uki.efi
slay. that's it. that's the whole thing π
π SEE ALSO
bootc(8), ukify(1) β go read those too, they're literally the besties of this page π§
π VERSION
v1.17.1
and that's a wrap on bootc-container-ukify(8) from the System Manager's Manual, version v1.17.1 π you ate this page up fr fr, now go build that UKI bestie π«Άβ¨
π¦ where this page comes from
- fedora 43: bootc 1.17.1-1.fc43 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- fedora 44: bootc 1.17.1-1.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms