Chapter 1. RHEL image builder description
To deploy a system, create a system image. To create RHEL system images, use the RHEL image builder tool. You can use RHEL image builder to create customized system images of Red Hat Enterprise Linux, including system images prepared for deployment on cloud platforms. RHEL image builder automatically handles the setup details for each output type. It is therefore easier to use and faster to work with than manual methods of image creation. You can access the RHEL image builder functionalities by using the image-builder tool, or the graphical user interface in the RHEL web console.
The image-builder tool, available as a Technology Preview, has the following characteristics:
- A simpler installation and environment configuration.
- You can work with a container-friendly daemonless model, removing the complexity of a client/server architecture.
-
You can use
image-builderfor automated pipelines and container-based builds. -
image-buildersupports creating a container image that you can use as a portable environment to build other images.
1.1. RHEL image builder terminology Copy linkLink copied to clipboard!
RHEL image builder uses specific terminology for its core concepts.
- Blueprint
A blueprint is a description of a customized system image. It lists the packages and customizations that will be part of the system. You can edit blueprints with customizations and save them as a particular version. When you create a system image from a blueprint, the image is associated with the blueprint in the RHEL image builder interface.
Create blueprints in the TOML format.
- Compose
- Composes are individual builds of a system image, based on a specific version of a particular blueprint. Compose as a term refers to the system image, the logs from its creation, inputs, metadata, and the process itself.
- Customizations
- Customizations are specifications for the image that are not packages. This includes users, groups, and SSH keys.
1.2. RHEL image builder output formats Copy linkLink copied to clipboard!
RHEL image builder can create images in multiple output formats shown in the table.
| Description | CLI name | File extension | Architecture |
|---|---|---|---|
| Amazon Web Services |
|
|
|
| Disk Archive |
|
|
|
| Google Cloud |
|
|
|
| Microsoft Azure |
|
|
|
| OpenStack |
|
|
|
| Oracle Cloud Infrastructure |
|
|
|
| QEMU Image |
|
|
|
| RHEL Installer |
|
|
|
| VMware vSphere |
|
|
|
| VMware vSphere |
|
|
|
| Vagrant |
|
|
|
| Windows Subsystem for Linux |
|
|
|
To check the supported types, run the command:
image-builder list
# image-builder list
1.3. Supported architectures for image builds Copy linkLink copied to clipboard!
RHEL image builder supports building images for several architectures.
The supported architectures include:
-
AMD and Intel 64-bit (
x86_64) -
ARM64 (
aarch64) -
IBM Z (
s390x) -
IBM POWER systems (
ppc64)
However, RHEL image builder does not support multi-architecture builds. It only builds images of the same system architecture that it is running on. For example, if RHEL image builder is running on an x86_64 system, it can only build images for the x86_64 architecture.