kata-containers/tools/osbuilder/image-builder
Wainer dos Santos Moschetta ba9fa49a53 osbuilder: Use Fedora and CentOS registries
To avoid hitting quota limit on docker.io, this changes the Fedora
and CentOS dockerfiles to pull the image from the projects registries.

Fixes #1324

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
2021-01-26 07:51:07 -05:00
..
Dockerfile osbuilder: Use Fedora and CentOS registries 2021-01-26 07:51:07 -05:00
image_builder.sh rootfs-builder: fix unbootable dracut-based initramfs on Fedora 2020-09-08 20:10:38 +02:00
nsdax.gpl.c osbuilder: move code into tools directory 2020-04-29 16:45:00 -05:00
README.md docs: fix markdown check issues 2020-04-29 17:51:44 -05: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