-
Feature
-
Resolution: Unresolved
-
High
-
None
-
None
-
None
-
None
-
BU Product Work
-
False
-
None
-
False
-
Not Selected
-
50% To Do, 50% In Progress, 0% Done
-
-
-
0
-
0
RHEL image mode (rhel bootc) provides an easy way to create derived image by using the container build workflow.
A pod VM image build will look something like this
FROM registry.redhat.io/rhel9/rhel-bootc:9.4 # Download the pod VM payload # RUN wget .... # Extract the payload image to appropriate location # RUN tar xvf ... # Perform any other customisations
Build the image using podman build or buildah command.
It supports creating images in different formats using bootc-image-builder - qcow2, raw, AMI etc.
Using RHEL image mode (rhel-bootc) will align the pod VM build to the simpler mechanism leveraging RHEL image-mode. Also this will make it easier to pre-build the pod VM images which is an important requirement for CoCo.
There are few additional CoCo requirements that needs to be explored with RHEL image mode
- Creating dm-verity (or fs-verity) based image
- Capturing measurements and storing it as part of the container image
More details on RHEL image model is available here