mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-22 15:54:30 +01:00
If KATA_DEV_MODE is set, test_images.sh attempts to validate that docker has kata-runtime as a configured --runtime value. This gives a nicer and earlier error, but it also complicates using /usr/bin/docker as provided by podman, which has a different 'info' topology. Let's drop the check and let the tests fail naturally if the host isn't configured properly Signed-off-by: Cole Robinson <crobinso@redhat.com>
Run the osbuilder tests
osbuilder provides a test script that creates all rootfs disk images and initrd images for all supported distributions and then tests them to ensure a Kata Container can be created with each.
Before the build phase, the test script installs the Docker container manager
and all the Kata components required to run test containers. This step can be
skipped by setting the environment variable KATA_DEV_MODE to a non-empty
value.
$ ./test_images.sh
Further information
The test script provides various options to modify the way it runs. For full details:
$ ./test_images.sh -h