kata-containers/tools/osbuilder/image-builder
stevenhorsman d9defd5102 osbuilder: Update image-builder base to f42
Fedora 40 is EoL, and I've seen the registry pull fail
a few times recently, so let's bump to fedora 42 which
has 10 months of support left.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2025-06-20 20:52:30 +01:00
..
Dockerfile osbuilder: Update image-builder base to f42 2025-06-20 20:52:30 +01:00
image_builder.sh image: custom guest rootfs image file size alignment 2025-06-02 16:15:17 +00:00
nsdax.gpl.c osbuilder: move code into tools directory 2020-04-29 16:45:00 -05:00
README.md docs: Remove table of contents 2021-07-30 10:58:22 +01:00

Kata Containers image generation

A Kata Containers disk image is generated using the image_builder.sh script. This uses a rootfs directory created by the rootfs-builder/rootfs.sh script.

Creating a guest OS image

To create a guest OS image run:

$ sudo ./image_builder.sh path/to/rootfs

Where path/to/rootfs is the directory populated by rootfs.sh.

Note

: If you are building an image from an Alpine rootfs, see the important note here.

Further information

For more information about usage (including how to adjust the size of the image), run:

$ ./image_builder.sh -h