Page
Build the custom image

Next, we’ll build the container image based on RHEL 9 bootc
and with the application software installed.
In this lesson, you will:
- Build the container image based on Red Hat Enterprise Linux (RHEL) 9
bootc
and with the application software installed.
Build your custom image
With the container definition and config files created, we can build the custom image.
# Build the initial image
$ podman build -f rhel9-httpd-v3.txt -t quay.io/seanmerrow/rhel9-httpd:v3 .
When the image build is complete, you can view its details. Below you can see that it is a bootc
image.
# Inspect the new image and verify it is a bootc image
$ podman image inspect quay.io/seanmerrow/rhel9-httpd:v3 | grep com.redhat.component
"com.redhat.component": "rhel-bootc-component",
"com.redhat.component": "rhel-bootc-component",