Init system for firecracker vm.
To build the project, run:
make build
To run the executable in a VM for testing, follow these steps:
-
Download
firecracker
:make firecracker
-
Download the
linux kernel
:make kernel
These commands will download Firecracker and the kernel to the
bin
directory. -
Set up a filesystem for the device:
make tmpinit
-
Set up a root filesystem:
make rootfs DOCKER_IMAGE=your-docker-image-name
To run the init binary in the VM, execute:
make run