Skip to content
Search AlmaLinux

This page uses Chinese content. Search opens the Chinese documentation.

    Browse this documentation

    Image Mode

    This content is not available in your language yet.

    bootc 1.16.4-2.el10_2.alma.1 在 EL10 AppStream(dnf list 实测)——这是 Alma 打包版本,说明 EL10 已内置 Image Mode 支持。

    Image Mode 核心概念:整个操作系统(内核+initramfs+用户态)打包为 OCI 容器镜像,用 podman build 构建、用 bootc install 部署到块设备、用 bootc upgrade 滚动更新。

    bootc 与传统 Anaconda 安装的区别:传统用 kickstart+ISO;Image Mode 用 Containerfile+podman build→bootc install to-disk。两者产物都是可启动的操作系统,但 Image Mode 的更新走 OCI registry pull 而非 dnf。

    bootc 与 Podman 的关系:bootc 使用 Podman/OCI 运行时来管理容器镜像层,但部署时把容器镜像作为根文件系统(而非运行容器进程)。镜像即操作系统。

    适用场景:边缘设备(不可变基础设施)、CI/CD 管线(构建→测试→部署一体化)、云原生环境(与 Kubernetes 节点镜像结合)。文献口径,实际 bootc install 需实机。

    见各节标注「文献口径」「未实测」的内容。