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 to ukify (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:
      • v1
      • v2
  • --write-dumpfile-to=WRITE_DUMPFILE_TO β€” Write a dumpfile to this path πŸ“
  • --kernel-dir=KERNEL_DIR β€” The directory containing the kernel and initramfs.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