mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 11:58:41 +00:00
Add readme do document how to use ./image-builder/image_builder.sh Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
Kata Containers image generation
A Kata Containers image is generated by the script image_builder.sh
which uses a rootfs
directory created by the script
rootfs-builder/rootfs.sh
.
To create a guest OS image run:
$ ./image_builder.sh path/to/rootfs
Where path/to/rootfs
is the directory pupulated by rootfs.sh
. The
script will check for following required binaries:
/sbin/init
: The image must contain ainit
binary/bin/kata-agent
: The image contain the Kata agent
More information about usage:
$ ./image_builder.sh -h