4.2. 安装 bootc-image-builder
要安装 bootc-image-builder,请使用 Red Hat Container Registry。bootc-image-builder 旨在用作容器,它不作为 RHEL 中的 RPM 软件包提供。
先决条件
-
container-tools元数据软件包已安装。元数据软件包包含所有容器工具,如 Podman、Buildah 和 Skopeo。 -
您已认证到
registry.redhat.io。详情请参阅 红帽容器注册中心身份验证。
流程
登录到
registry.redhat.io身份验证:$ sudo podman login registry.redhat.io安装
bootc-image-builder工具:$ sudo podman pull registry.redhat.io/rhel10/bootc-image-builder
验证
列出拉取到本地系统的所有镜像:
$ sudo podman images REPOSITORY TAG IMAGE ID CREATED SIZE registry.redhat.io/rhel10/bootc-image-builder latest b361f3e845ea 24 hours ago 676 MB