BCVK: A Local Test Bench for Bootable OS Images
BCVK is a local test bench for bootable container OS images. See how one OCI artifact moves through ephemeral, persistent, and disk-image modes before it reaches real hosts.
Red HatAndre Luiz FacinaTutorial
Managing a traditional operating system across multiple hosts often leads to configuration drift, slow updates, and painful rollbacks. Bootable containers solve this by packaging the entire OS as an OCI container image, including the kernel, initrd, bootloader, and applications. Red Hat Enterprise Linux 10 introduced image mode deployment, and the bootc container virtualization kit (bcvk) enables end-to-end testing of these images on a laptop using familiar Podman and libvirt packages. The tool offers three deployment modes: ephemeral for rapid testing, persistent for long-term development, and disk image for creating bootable artifacts. Users build a custom bootc image via a Containerfile with the containers.bootc=1 label, then deploy it identically across virtual and physical infrastructure, reducing environmental drift.
Managing a traditional operating system across multiple hosts often leads to configuration drift, slow updates, and painful rollbacks. Red Hat Enterprise Linux 10 introduced image mode deployment, allowing operating systems to be managed as OCI container images (bootc images).
The bootc container virtualization kit (bcvk) provides three deployment modes: ephemeral for rapid testing, persistent (libvirt) for long-term development, and disk image for creating bootable artifacts. Users build a custom bootc image using a Containerfile with the containers.bootc=1 label, then deploy it identically across environments using bcvk commands.
Bootable containers package the entire OS (kernel, initrd, bootloader, applications) as an OCI container image, enabling consistent management across environments.
The bcvk tool offers three deployment modes: ephemeral (wiped on exit), persistent (survives reboots), and disk image (output artifact), each suited for different stages of development.
To use bcvk, you need RHEL 10, a Red Hat subscription, connectivity to an OCI registry, Podman, and libvirt for persistent VMs; install via dnf from EPEL.
The three modes are ephemeral (run) for rapid testing with no persistence, persistent (libvirt) for long-term development with full persistence, and disk image (to-disk) for creating bootable disk images.
Create a Containerfile that starts from a bootc base image, adds the containers.bootc=1 label, and includes customizations. Then build it with podman build and verify with bcvk images list.
You need a physical host running RHEL 10 with an active Red Hat subscription, connectivity to an OCI image repository, a valid account in that registry, and Podman configured. Install bcvk via dnf from EPEL.
Summaries are generated from the original by a language model. Check the original before relying on it.
See the idea
BCVK is a local test bench for bootable container OS images. See how one OCI artifact moves through ephemeral, persistent, and disk-image modes before it reaches real hosts.
Keep reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
One useful email. Unsubscribe anytime.