Instead of installing an operating system and maintaining it package by package, what if we could build the operating system as an image, deploy it wherever we need it, and manage its entire lifecycle using the same tools and principles we already use for application containers?
That's the idea behind bootc (Bootable Containers), an approach that changes how Linux operating systems are built, deployed, updated and maintained.
Traditionally, Linux administrators install an operating system, configure it, install packages, apply updates and gradually turn it into the server they need. Over time, even machines that started from identical installations can become slightly different because of manual changes, package versions, configuration adjustments and maintenance performed at different times.
bootc takes a different approach. The operating system itself becomes a deployable image. Instead of installing and maintaining packages directly on every machine, we define what the operating system should contain, build an image and deploy that image to the target system.
This brings concepts from container development and deployment into operating system management.
The result is a more consistent and predictable way of managing Linux systems, whether they run on physical hardware, virtual machines or cloud infrastructure.
1. Understanding the traditional Linux approach
Let's start with something familiar: a traditional Red Hat Enterprise Linux installation.
You install RHEL on a physical server or virtual machine, configure its partitions, networking and users, and then start installing the software required for its purpose.
For example, a web server might need:
dnf install nginx
dnf install nano
dnf install htop
dnf install firewalld
When you need to update the system, you run:
dnf update
DNF downloads the required RPM packages and updates the installed system directly.
The operating system is therefore a collection of packages installed and maintained on the machine.
This approach is flexible and well established. You can install or remove software whenever you need it, change system components, modify configuration files and perform maintenance without having to rebuild the entire operating system.
However, there is a downside.
If you have 50 servers, you have 50 independently maintained operating system installations. Even when they start from the same installation image, they can gradually drift apart.
One server might have a newer version of a package, another might have a manually installed utility, while a third might contain a configuration change nobody documented.
Configuration management tools such as Ansible help considerably, but the operating system itself is still maintained individually on each machine.
2. What is bootc?
bootc stands for bootable containers.
It is an approach to building and managing an operating system using container image technology.
Red Hat calls its implementation Image Mode for RHEL.
Instead of treating the operating system as a collection of independently installed RPM packages, we treat it as a complete image that contains everything required to boot and run the machine.
A bootc image includes components such as:
- Linux kernel
- Initramfs
- Bootloader components
- System libraries
- System binaries and utilities
- System services
- Drivers and other required operating system components
- Additional software installed as part of the image
The image is built using familiar container tools such as Podman and Containerfiles (Dockerfiles).
However, there is an important distinction:
The operating system does not run inside a Docker container.
The container image is used as the distribution and deployment format for the operating system. Once installed, Linux boots and runs natively on the machine, just like a traditional installation.
There is no Docker container containing the entire operating system running on top of another Linux host.
3. How does the filesystem change?
One of the most visible differences is the filesystem layout and how system files are maintained.
In a traditional RHEL installation, the root filesystem is generally mutable. Administrators can modify system files, install packages and change the operating system directly.
With bootc, the root filesystem is immutable by default, with important exceptions for writable configuration and persistent data.
The main directories are:
- /usr - system binaries, libraries and most operating system files. Normally read-only and managed by the deployed image.
- /etc - system configuration. Writable, with configuration changes preserved and merged during deployments.
- /var - persistent system data, logs, application state and other writable content.
- /boot - boot-related files managed as part of the operating system deployment.
This means you cannot treat the operating system as an ordinary mutable Linux installation.
For example, installing a package directly into the running system is no longer the normal workflow.
If you want nano, vim, htop or nginx to be part of the operating system, you add them to the image definition and build a new image.
The idea is to keep the operating system consistent and make changes through controlled image deployments.
4. bootc and macOS: a useful comparison
If you have used a modern Mac, you might already be familiar with some of these concepts.
Since macOS Big Sur, Apple has used a read-only system volume. Modern macOS versions also use something called the Signed System Volume (SSV).
The system volume contains operating system files and is protected against unauthorized modifications. User data is stored separately on the writable Data volume.
The system volume is cryptographically sealed. macOS verifies the integrity of its contents, and APFS snapshots help make system updates and recovery more reliable.
This provides a useful conceptual comparison with bootc.
macOS:
Macintosh HD
Operating system
Read-only system volume
Cryptographically sealed
Macintosh HD - Data
User data
Applications
Writable content
With bootc, the general idea is similar:
RHEL bootc:
/usr
Operating system files
Image-managed
Read-only by default
/etc
System configuration
Writable
/var
Persistent data
Writable
However, the two implementations are not identical.
Apple's Signed System Volume provides a specific cryptographic integrity mechanism integrated into the macOS boot and security architecture.
bootc focuses on image-based operating system deployment, transactional updates and rollback. Its security properties depend on the image supply chain, boot configuration and other security mechanisms.
In other words, both approaches separate the operating system from writable data, but they achieve their goals differently.
5. bootc and Docker: what is actually the same?
This is where people familiar with Docker or Podman will recognize many of the concepts.
A normal container image is built from a Containerfile.
For example:
FROM registry.access.redhat.com/ubi10/ubi
RUN dnf install -y nginx
CMD ["nginx", "-g", "daemon off;"]
A bootc image is built in a very similar way.
For example:
FROM registry.redhat.io/rhel10/rhel-bootc:latest
RUN dnf install -y
nano
vim-enhanced
htop
nginx
&& dnf clean all
RUN systemctl enable nginx
This is a simplified example of a RHEL 10 bootc Containerfile.
The main difference is the base image.
Instead of using a normal application container base image, we use the RHEL bootc base image, which includes the additional components needed to boot a complete operating system.
We can then build and distribute it using Podman:
podman build -t my-rhel:1.0 .
Tag the image:
podman tag my-rhel:1.0
registry.example.com/infra/my-rhel:1.0
Push it to a registry:
podman push
registry.example.com/infra/my-rhel:1.0
The resulting image is an OCI-compatible image containing an operating system.
But there is an important difference between normal containers and bootc images:
- Normal application containers run as containers and share the host's running kernel.
- bootc images are installed onto a disk and boot as the operating system itself.
- Application containers are updated independently of the host operating system.
- bootc images update the operating system, including its kernel and system components.
You can use the same container registry to store both application images and bootc images.
This means your existing container image build and distribution knowledge is directly applicable.
6. Building a bootc image
A bootc image can be built on any suitable build environment with Podman and access to the required base image and repositories.
It does not have to be built on the machine that will eventually run it.
A typical build environment might contain:
- Podman
- Containerfiles
- Configuration files
- Build scripts
- Access to a container registry
You can also use GitLab CI/CD to automate the process.
A simplified build pipeline might look like this:
GitLab repository
|
v
Containerfile
|
v
Podman build
|
v
Bootc image
|
v
Container registry
|
v
Deployment to target systems
The image can be versioned, tested and promoted through different environments.
For example:
rhel-web:1.0
rhel-web:1.1
rhel-web:1.2
rhel-database:1.0
rhel-database:1.1
rhel-monitoring:1.0
Each image represents a defined operating system configuration.
An important consideration is that rebuilding an image from a newer base image does not automatically update existing servers. The updated image must be built, published and deployed.
7. Initial installation: how does the image reach the machine?
Building an image is only one part of the process.
Eventually, we need to install it onto a physical server or virtual machine.
This is where bootc introduces another component: bootc-image-builder.
bootc-image-builder is a containerized tool that converts bootc images into bootable disk images suitable for different deployment environments.
Depending on the target platform and supported image-builder output types, it can generate formats such as:
- QCOW2 for QEMU/KVM environments.
- VMDK or OVA for VMware vSphere.
- AMI for Amazon Web Services.
- VHD for Microsoft Azure.
- Raw disk images.
- Installation ISO images.
Another option is installing a bootc image directly using supported bootc installation methods, including the RHEL installation environment.
The important distinction is that the OCI image is not simply copied onto a virtual disk and expected to boot.
The installation process prepares the disk, filesystem, bootloader and operating system deployment.
Once the machine has been installed and booted, it can receive future OS updates directly from its configured container registry.
Example: deploying on Proxmox
For Proxmox, a typical workflow would be:
1. Build the bootc image.
2. Push it to a container registry.
3. Run bootc-image-builder.
4. Generate a QCOW2 disk image.
5. Import the disk into Proxmox.
6. Create a VM using that disk.
7. Boot the VM.
The VM runs RHEL natively. Proxmox simply provides the virtual hardware.
Example: deploying on VMware ESXi / vSphere
The same concept applies to VMware.
Instead of generating a QCOW2 image, generate a VMDK or OVA image supported by the relevant bootc-image-builder release.
The general workflow becomes:
1. Build the bootc image.
2. Push it to a container registry.
3. Generate a VMDK or OVA.
4. Import the image into VMware vSphere.
5. Create or deploy the VM.
6. Boot the VM.
The guest operating system is still the same RHEL bootc image.
The hypervisor does not fundamentally change how bootc works.
You should still account for VMware-specific requirements, such as virtual hardware compatibility, open-vm-tools, storage controllers and networking.
Example: physical servers
Physical machines can also run bootc.
You can use a supported installation method, such as booting the RHEL installation environment and deploying the bootc image onto the target disk.
This allows the same operating system definition to be used on physical servers and virtual machines.
Hardware-specific drivers and firmware requirements still need to be considered when building the image.
8. Updating a bootc system
This is probably the biggest operational difference compared with traditional RHEL.
In a traditional installation, you run:
dnf update
The package manager modifies the installed operating system directly.
With bootc, the operating system is updated as an image.
Let's assume the machine currently runs image version 1.0.
You build and publish version 1.1, containing updated packages or additional software.
The running machine can then download and stage the new image.
For example:
bootc upgrade
The new deployment is prepared while the current operating system continues running.
You can inspect its status:
bootc status
When the new deployment is ready, the system reboots and starts using the updated image.
systemctl reboot
The process can be summarized as:
Currently running:
OS Image 1.0
|
v
bootc upgrade
|
v
Download Image 1.1
|
v
Prepare new deployment
|
v
Current OS continues running
|
v
Reboot
|
v
OS Image 1.1 becomes active
This is called transactional or atomic updating.
The idea is to prepare a new deployment rather than modify the running operating system package by package.
If the update is interrupted during preparation, the currently running deployment remains available.
The new deployment becomes active after reboot.
Does every update require a reboot?
For normal bootc operating system image updates, yes, a reboot is generally required to activate the new deployment.
This is especially relevant for kernel updates, system libraries and other operating system components.
However, not every operation on a bootc machine requires a reboot.
For example:
- Updating an application running in a separate container does not normally require a host reboot.
- Changing an application configuration file may only require restarting the affected service.
- Changing a system configuration file under /etc may only require restarting the relevant service.
- Updating the bootc operating system image requires activation of the new deployment, normally through a reboot.
RHEL also has limited soft-reboot capabilities for certain userspace updates, but these have limitations and do not replace a full reboot when the kernel, drivers or low-level components change.
What if we want to change the image being tracked?
There are two important commands:
bootc upgrade
Checks for a newer version of the image the system already tracks.
And:
bootc switch registry.example.com/infra/rhel-web:2.0
Changes the image reference the system tracks and stages the corresponding deployment.
For example, you might switch from a testing image to a production image.
Automatic updates
RHEL bootc includes systemd-based automatic update mechanisms.
In RHEL 10, automatic updates are enabled by default in the documented configuration.
This means a machine can periodically check its configured image reference, download updates and apply them according to its update configuration.
For controlled production environments, you may prefer to manage this process through Ansible or another orchestration system.
This gives you control over maintenance windows, staged deployments and reboot scheduling.
9. Rolling back an update
Another important advantage of bootc is the ability to return to a previous operating system deployment.
Suppose you update from image 1.0 to image 1.1, but the new version causes problems.
You can use:
bootc rollback
This changes the bootloader deployment order so that the previous deployment is selected at the next boot.
Then:
systemctl reboot
The previous operating system deployment becomes active again.
However, there is an important technical detail concerning /etc.
Configuration changes in /etc are managed and merged during deployment. A rollback can restore the previous deployment's configuration state rather than preserve every configuration change made after the update.
Persistent data under /var is not rolled back in the same way.
This is why application data, databases and other important persistent information should be stored in appropriate persistent locations and protected by normal backup procedures.
Rollback is not a replacement for backups.
10. Installing small utilities: do we need to rebuild the OS?
This is a common question when coming from traditional Linux administration.
Suppose you only want to install nano.
On traditional RHEL:
dnf install nano
With bootc, if you want nano to be permanently included in the operating system, you add it to the Containerfile and build a new image.
RUN dnf install -y nano
The new image is then published and deployed.
Even though nano is a small utility, it is part of the operating system image.
For temporary troubleshooting or experimentation, bootc also supports:
bootc usroverlay
This creates a temporary writable overlay for /usr, allowing changes to the otherwise image-managed filesystem.
Such modifications are not a replacement for building a proper image and should not be considered permanent operating system configuration.
Another possibility is running troubleshooting utilities in separate containers, avoiding the need to add every diagnostic tool to the host operating system.
The important principle is to distinguish between permanent operating system content and temporary tools.
11. Two deployment scenarios
Let's look at two practical ways of organizing a bootc environment.
Scenario 1: One server does everything
Imagine having only one server, which is responsible for running bootc and also building its own operating system image.
This is possible, although the initial installation still needs an external bootstrap environment, such as an installation ISO or a prebuilt bootable disk image.
Once the system is running, it can also host Podman and the tools needed to build new images.
A simplified architecture:
BOOTC SERVER
|
+-- Running RHEL bootc
|
+-- Podman
|
+-- Containerfile
|
+-- Local image build
|
+-- Image registry
|
+-- bootc
For example, you create a Containerfile:
FROM registry.redhat.io/rhel10/rhel-bootc:latest
RUN dnf install -y nano htop nginx
RUN systemctl enable nginx
Build the image:
podman build -t localhost/rhel-web:1.0 .
You then publish the image to a registry accessible by bootc. That registry could be hosted on the same machine, provided its storage and service availability are properly handled.
The machine can then switch to the new image reference:
bootc switch registry.example.com/infra/rhel-web:1.0
After the new deployment is staged, reboot to activate it.
This scenario is useful for experimentation, small environments and understanding the bootc lifecycle.
However, using the same machine for building, storing and running the operating system introduces dependencies. If the machine or its registry becomes unavailable, you may lose access to the tools required to build and distribute future images.
Scenario 2: Separate build and production servers
This is a more conventional production architecture.
We have:
- Server A: build and management server.
- Server B: production bootc server.
- Container registry: stores the operating system images.
Server A contains Podman, Containerfiles, build scripts and access to GitLab.
It builds and publishes the operating system image.
Server B runs bootc and retrieves the image from the registry.
The workflow:
SERVER A
|
+-- GitLab repository
|
+-- Containerfile
|
+-- Podman build
|
+-- Container registry
|
v
SERVER B
|
+-- bootc upgrade / bootc switch
|
+-- Download and stage image
|
+-- Reboot
|
+-- New OS deployment
Let's say we want to add vim-enhanced to our production web server.
On Server A, we modify the Containerfile:
FROM registry.redhat.io/rhel10/rhel-bootc:latest
RUN dnf install -y
nano
htop
nginx
vim-enhanced
RUN systemctl enable nginx
Build and push the updated image:
podman build -t registry.example.com/infra/rhel-web:1.1 .
podman push registry.example.com/infra/rhel-web:1.1
On Server B, switch to the new image:
bootc switch registry.example.com/infra/rhel-web:1.1
Check the deployment:
bootc status
Reboot when appropriate:
systemctl reboot
Server B now runs the updated operating system.
Server A does not need to access the production filesystem or install individual packages remotely.
It simply builds and publishes the new image.
The production server retrieves the image itself.
This separation is particularly useful when managing multiple machines.
12. What happens when we have 50 or 100 servers?
This is where the image-based approach becomes particularly interesting.
Imagine maintaining 100 identical web servers.
With traditional package management, each server has its own installed operating system and receives updates through RPM repositories.
With bootc, you can build one approved image and deploy it to all 100 servers.
For example:
registry.example.com/infra/rhel-web:2.0
All machines can track the same image reference.
When a new version is released, you publish a new image and orchestrate its deployment.
This does not mean all servers must reboot simultaneously.
You can use Ansible to update them in groups, perform health checks and schedule reboots.
For example:
Web servers 01-10
Update and reboot
Validate services
Web servers 11-20
Update and reboot
Validate services
Web servers 21-30
Update and reboot
Validate services
This provides a controlled rollout instead of updating every machine independently.
You can also maintain different images for different server roles.
rhel-base
rhel-web
rhel-database
rhel-monitoring
rhel-proxy
The base image can contain common operating system components, while individual images add the software required for their specific roles.
13. GitLab, Ansible and bootc: infrastructure as code
One of the most interesting possibilities is bringing the entire operating system lifecycle into a Git-based workflow.
Instead of keeping installation instructions, package lists and configuration scripts scattered across different systems, you can maintain the definitions in a GitLab repository.
For example:
rhel-infrastructure/
|
+-- images/
| |
| +-- base/
| | +-- Containerfile
| |
| +-- web/
| | +-- Containerfile
| |
| +-- database/
| +-- Containerfile
|
+-- ansible/
| |
| +-- playbooks/
| | +-- provision.yml
| | +-- deploy.yml
| | +-- update.yml
| | +-- validate.yml
| |
| +-- roles/
| | +-- networking/
| | +-- security/
| | +-- monitoring/
| | +-- applications/
| |
| +-- inventory/
| +-- production/
| +-- testing/
| +-- cloud/
|
+-- provisioning/
| |
| +-- proxmox/
| +-- vmware/
| +-- baremetal/
| +-- cloud/
|
+-- .gitlab-ci.yml
The responsibilities can be separated as follows.
Containerfiles
Define the operating system itself:
- RHEL version and base image.
- Installed RPM packages.
- System services.
- System-level configuration.
- Required drivers and supporting components.
GitLab CI/CD
Automates:
- Building images.
- Testing images.
- Running validation.
- Publishing approved images.
- Promoting images between environments.
Container registry
Stores the built operating system images and makes them available to deployment targets.
Ansible
Handles:
- Provisioning orchestration.
- Host-specific configuration.
- Network and service configuration.
- OS image updates.
- Reboot scheduling.
- Post-deployment validation.
- Application deployment and management.
Ansible is not eliminated. Its responsibilities simply change.
Instead of installing every operating system package individually on every server, Ansible can focus on orchestrating the deployment and managing the differences between individual machines.
It is still possible to manage application configuration and other mutable system settings through Ansible.
14. What about Satellite and Cobbler?
bootc does not automatically replace existing provisioning and management infrastructure.
Consider two traditional environments.
RHEL with Satellite
Satellite can provide:
- Content and repository management.
- Host registration and inventory.
- Lifecycle environments and content views.
- Provisioning and installation workflows.
- Subscription and entitlement management.
- Integration with configuration management.
Moving to bootc changes the way operating system content is built and delivered, but it does not automatically remove all these requirements.
Red Hat also documents integration between Satellite and bootc-based provisioning.
Satellite can therefore remain relevant in an image-mode environment.
RHEL with Cobbler
Cobbler traditionally handles:
- PXE provisioning.
- DHCP and TFTP integration.
- Kickstart files.
- Installation workflows.
- Provisioning of physical and virtual machines.
It can still have a role in the initial provisioning process, but the installation workflow needs to account for bootc images instead of assuming a traditional RPM-based installation.
The important point is that provisioning and operating system lifecycle management are separate responsibilities.
bootc changes the latter, not necessarily the former.
15. Deploying the same image across different platforms
Another advantage of this approach is the possibility of maintaining a common operating system definition across different infrastructure platforms.
For example, the same bootc image can be used as the basis for deployments on:
- Physical servers.
- Proxmox VE virtual machines.
- VMware ESXi / vSphere virtual machines.
- Public cloud instances.
- Other supported virtualization and cloud environments.
The actual deployment artifact can differ.
For example:
Common bootc image
|
+-- QCOW2
| Proxmox / QEMU
|
+-- VMDK / OVA
| VMware vSphere
|
+-- AMI
| AWS
|
+-- VHD
| Azure
|
+-- Raw / installation media
Physical deployment
This is particularly useful when moving between on-premises infrastructure and cloud environments.
You can build and test an operating system image locally, deploy it to a Proxmox or VMware test VM, and later use the same image definition as the basis for a cloud deployment.
There are still platform-specific considerations:
- Virtual hardware and storage controllers.
- Network adapters and drivers.
- Cloud initialization and metadata services.
- Boot mode and firmware compatibility.
- Guest integration tools such as open-vm-tools.
- Cloud-specific image requirements.
The goal is not to pretend that every platform is identical, but to avoid maintaining completely different operating system definitions for each environment.
16. Testing and image promotion
One of the advantages of using GitLab and a container registry is that you can introduce a proper image promotion process.
For example:
Development
|
v
Testing
|
v
Staging
|
v
Production
A developer changes the Containerfile and submits a merge request.
GitLab builds the image and runs automated tests.
Once approved, the image is deployed to a test VM.
After successful validation, the same image is promoted to staging and eventually production.
Ideally, promotion means moving or approving the already-built image, rather than rebuilding it independently at every stage.
You can use immutable image digests to ensure that production receives exactly the image that was tested.
This also makes temporary cloud testing attractive.
You can create a temporary cloud VM, deploy the same image used on-premises, run your tests and destroy the VM afterwards.
You do not need to maintain a separate manually configured operating system just for testing.
17. What about application containers and persistent data?
An important architectural consideration is that bootc does not mean everything must become part of the operating system image.
In fact, keeping responsibilities separate is one of the most important design principles.
For example:
- Operating system packages and system services belong in the bootc image.
- Application containers should be managed independently.
- Application data should live in persistent storage.
- Database files should not be baked into the OS image.
- Host-specific secrets should not be included in a shared image.
- Host-specific configuration should be managed separately where appropriate.
This makes it possible to update the operating system without rebuilding application data or distributing a new OS image every time an application changes.
For example, a database server could run bootc as its operating system while its database service and persistent database storage are managed independently.
The important thing is to understand which components belong to the operating system and which belong to the application layer.
18. Advantages and disadvantages
bootc is not necessarily the best solution for every Linux installation.
It introduces a different operational model, with benefits and trade-offs.
Advantages
- Consistent operating system deployments across machines.
- Reduced configuration drift.
- OS images can be versioned and tested before deployment.
- Familiar container tooling can be used to build operating systems.
- Transactional updates and rollback support.
- Easier standardization across physical, virtual and cloud infrastructure.
- Integration with GitLab CI/CD and infrastructure-as-code workflows.
- Separation between OS lifecycle management and application deployment.
- Easier creation of standardized server templates and deployment artifacts.
Disadvantages and considerations
- OS changes require an image build and deployment workflow.
- Normal operating system image updates generally require a reboot.
- Administrators must adapt to an image-based mindset.
- Manual changes to image-managed system files are no longer the normal workflow.
- Image build and registry infrastructure becomes important.
- Host-specific configuration and persistent data need careful planning.
- Troubleshooting and emergency modifications require familiarity with immutable systems.
- Hardware-specific drivers and platform differences still need to be addressed.
- Existing package-based management workflows may need to be redesigned.
19. When does bootc make sense?
The value of bootc depends on how systems are deployed and maintained.
| Scenario | Consideration |
|---|---|
| One general-purpose Linux server | Traditional RHEL may be simpler |
| Database server with frequent manual changes | Traditional RHEL may be more convenient |
| Large fleet of similar servers | bootc can provide substantial consistency |
| Standardized web servers | Very good candidate |
| Edge appliances | Very good candidate |
| Identical VM templates | Very good candidate |
| Hybrid on-premises and cloud environments | Attractive option |
| Infrastructure managed through Git and CI/CD | Very good candidate |
| Servers with frequent ad hoc package installation | Requires workflow changes |
The biggest benefit is not necessarily making a single server easier to maintain.
It is making hundreds of servers more predictable and easier to manage consistently.
20. The mental model
If you remember only a few things, remember these:
Traditional RHEL:
You install an operating system and maintain it directly on the machine.
You use DNF and RPM to install, remove and update packages.
Docker / Podman:
You build application images, push them to registries and run them as containers.
bootc:
You use container image technology to build, distribute and deploy the operating system itself.
The machine boots from that image and runs Linux natively.
Updates are staged as new OS deployments and activated through reboot, with rollback capabilities.
macOS:
A useful comparison for understanding the separation between protected system files and writable user data, although its Signed System Volume uses a different security architecture.
21. Useful commands
Some of the commands you will encounter when working with bootc:
Check the current deployment
bootc status
Check more detailed deployment information
bootc status --verbose
Update the currently tracked image
bootc upgrade
Switch to another image reference
bootc switch registry.example.com/infra/rhel-web:2.0
Roll back to the previous deployment
bootc rollback
Create a temporary writable overlay for /usr
bootc usroverlay
Reboot into a staged deployment
systemctl reboot
These commands assume an installed and running bootc system, with the appropriate privileges and registry access.
23. Is bootc available for other Linux distributions?
Although we have primarily discussed bootc in the context of Red Hat Enterprise Linux, bootc itself is not a Red Hat-exclusive technology.
The bootc project is an open-source project that aims to provide a distribution-independent way of building, deploying and updating Linux operating systems using OCI container images.
The bootc client is not inherently tied to a particular Linux distribution. However, the operating system still needs a compatible bootable base image, with the necessary filesystem layout, bootloader integration, kernel and system configuration.
This distinction is important because having access to the bootc tooling does not automatically mean that every Linux distribution provides an officially maintained bootc image.
Fedora
Fedora is one of the main distributions supporting bootc and is closely associated with its development.
Fedora provides bootable container images that can be customized using familiar Containerfiles and Podman workflows.
For example:
FROM quay.io/fedora/fedora-bootc:latest
RUN dnf install -y
nano
vim-enhanced
htop
nginx
RUN systemctl enable nginx
The resulting image can be built, pushed to a registry and deployed using the bootc workflow.
Fedora is particularly interesting for experimentation and learning because it provides access to the bootc ecosystem without requiring a RHEL subscription.
It is also a useful environment for understanding the technology before considering an enterprise deployment.
CentOS Stream
CentOS Stream also provides bootable container images.
CentOS Stream sits between Fedora and RHEL in the Red Hat development ecosystem. It is a continuously delivered distribution that tracks development of the next minor RHEL release.
This makes CentOS Stream an interesting option for environments that want to experiment with bootc while remaining relatively close to the RHEL ecosystem.
Example base image references include:
quay.io/centos-bootc/centos-bootc:stream9
quay.io/centos-bootc/centos-bootc:stream10
As with Fedora, you can build customized images on top of these bases, publish them to your own registry and deploy them to physical or virtual machines.
Red Hat Enterprise Linux
RHEL provides its own bootc images for enterprise environments.
Examples:
registry.redhat.io/rhel9/rhel-bootc:latest
registry.redhat.io/rhel10/rhel-bootc:latest
Unlike the community Fedora and CentOS Stream images, RHEL images are distributed through Red Hat's registry and are subject to Red Hat subscription and entitlement requirements.
The advantage is the integration with the commercial RHEL ecosystem, including its support model and enterprise management capabilities.
What about Debian, Ubuntu, Arch and other distributions?
This is where things become less straightforward.
The bootc project is designed to be distribution-independent, but the distribution itself needs to provide a suitable bootable image and integrate the required components.
Some community efforts and experimental implementations exist outside the Fedora/RHEL ecosystem.
However, it is important to distinguish between:
- A distribution officially providing maintained bootc images.
- A community project building bootc-compatible images.
- Someone creating a custom bootable image using the bootc tooling.
- A distribution having a different image-based or transactional update system.
These are not necessarily equivalent in terms of maturity, maintenance, documentation or vendor support.
For example, Debian and Ubuntu have their own established packaging and operating system management approaches. Their existence as Linux distributions does not automatically mean that they provide an equivalent, officially maintained bootc experience.
Similarly, Arch Linux users may experiment with image-based operating systems, but that should not be confused with an officially supported bootc distribution.
If you encounter a project claiming to provide bootc support for another distribution, check whether it provides maintained base images, installation instructions, update integration and a clear support policy.
What about Fedora CoreOS, Silverblue and Kinoite?
There is another distinction worth mentioning.
Fedora CoreOS, Fedora Silverblue and Fedora Kinoite are also examples of image-based or immutable Linux systems, but they should not automatically be considered bootc distributions.
They have their own histories and operating system management technologies.
For example:
- Fedora CoreOS is designed primarily for running containerized workloads and uses an automated, image-based operating system management model.
- Fedora Silverblue provides an immutable Fedora desktop experience, with rpm-ostree as its traditional system management technology.
- Fedora Kinoite offers a similar approach with the KDE Plasma desktop.
These projects share some architectural ideas with bootc, particularly the separation of the operating system from application workloads and transactional updates.
However, they do not all use the same bootc image deployment workflow.
Distribution comparison
| Distribution | Bootc availability | General status |
|---|---|---|
| Fedora | Yes | Maintained bootable images |
| CentOS Stream | Yes | Maintained bootable images |
| RHEL | Yes | Enterprise offering |
| Debian | No established official offering identified | Community experimentation |
| Ubuntu | No established official offering identified | Community experimentation |
| Arch Linux | No established official offering identified | Community experimentation |
| Distribution | Technology | Relationship to bootc |
|---|---|---|
| Fedora Silverblue | rpm-ostree | Image-based desktop OS, but not bootc-managed |
| Fedora Kinoite | rpm-ostree | Image-based desktop OS, but not bootc-managed |
| Fedora CoreOS | rpm-ostree | Automatically updated OS with a different management model |
| Fedora bootc | bootc | Host OS built and distributed as an OCI container image |
This table describes bootc base-image availability, not whether a distribution can be made immutable or supports other transactional update technologies.
Does this mean we can use the same workflow everywhere?
The general concept remains the same:
Containerfile
|
v
Build bootable image
|
v
Push to registry
|
v
Generate deployment artifact
|
v
Install operating system
|
v
Update through bootc
|
v
Reboot into new deployment
However, the Containerfile itself is not necessarily portable between distributions.
For example, Fedora, CentOS Stream and RHEL use DNF and RPM packages, while Debian and Ubuntu use APT and DEB packages.
The bootc client and deployment concepts can be shared, but package management, base images, filesystem conventions, bootloader integration and distribution-specific configuration still matter.
Where to find more information
- bootc project website - General introduction and project status.
- bootc documentation - Technical documentation and implementation details.
- Fedora bootc documentation - Fedora and CentOS Stream bootable containers.
- Fedora bootc base images - Fedora image definitions.
- CentOS bootc project - CentOS Stream image development.
- bootc on GitHub - Source code and community development.
Conclusion
bootc is not limited to RHEL. It is an open-source approach to managing Linux operating systems using container image technology.
Fedora, CentOS Stream and RHEL currently provide the most established starting points.
This is important because it means the technology is not tied to a single commercial distribution, even though the actual base images, support arrangements and integration differ.
The underlying idea remains the same: build an operating system as an image, distribute it through a container registry and deploy it to the machine that will run it.
The tools and concepts can be shared across distributions, but the operating system image itself must be designed for the distribution it represents.
Build once. Test. Promote. Deploy.
- Log in to post comments
- 9 views