This directory contains the definition for the unikraft.org/lua:5.4.4
image starting a simple HTTP server.
To run this image, install Unikraft's companion command-line toolchain kraft
and then you can run, as root
:
kraft net create -n 172.44.0.1/24 virbr0
kraft run -M 512M --network bridge:virbr0 --plat qemu --arch x86_64 unikraft.org/lua:5.4.4
Query the server using:
curl 172.44.0.2:8080
You will get a Hello, World!
message.
To build the image locally, use:
kraft build --no-cache --plat qemu --arch x86_64
To run the locally built image, use, as root
:
kraft net create -n 172.44.0.1/24 virbr0
kraft run -M 512M --network bridge:virbr0 --plat qemu --arch x86_64 .