Build a bootc operating system image for Red Hat Edge Manager
With bootc, your operating system becomes a container image that lets your device be managed by the Red Hat Edge Manager.
To prepare your device to be managed by the Red Hat Edge Manager, build a bootc operating system image that has the Red Hat Edge Manager agent. Then build an operating system disk image for your devices.
Prerequisites Copy linkLink copied!
See the following prerequisites for building a bootc operating system image:
- Install
podmanversion 5.0 or later andskopeoversion 1.14 or later. - Install
bootc-image-builder.
Install the Red Hat Edge Manager CLI Copy linkLink copied!
To install the Red Hat Edge Manager CLI, complete the following steps:
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Log in to the Red Hat Edge Manager through the CLI Copy linkLink copied!
How you log in the Red Hat Edge Manager depends on whether you choose the automatic or manual method when you initially set up the application.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
Use the following commands to help you with the CLI:
- To output a list of available commands, use:
flightctl - To output both the flightctl CLI version and the back-end Red Hat Edge Manager version, use:
flightctl version
To ensure supportability and proper functionality, the version of the flightctl CLI must match the version of the Red Hat Edge Manager in use. Mismatched versions are not supported.
Optional: Request an enrollment certificate for early binding Copy linkLink copied!
If you want to include an agent configuration in the image, complete the following steps:
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Optional: Use image pull secrets Copy linkLink copied!
If your device relies on containers from a private repository, you must configure a pull secret for the registry. Complete the following steps: