4.4. Creating a system image with RHEL image builder on the command line


To build a customized RHEL image by using the RHEL image builder command-line interface, you must specify a blueprint and an image type. Optionally, you can also specify a distribution.

If you do not specify a distribution, it uses the same distribution and version as the host system. The architecture is also the same as the one on the host.

Prerequisites

  • You have a blueprint prepared for the image.

Procedure

  1. Optional: List the image formats you can create:

    # image-builder list
  2. Start the compose:

    # image-builder build <image_type> --blueprint <blueprint_name>

    Replace <blueprint_name> with the name of the blueprint, and <image_type> with the type of the image.
    If you do not specify a distro, image-builder uses the same distro it is installed.

    The compose process starts and take some minutes to complete. You can follow the image building steps until the image is ready.

    After the image building process finishes, the image is available for your use at the directory where you create it.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部