A unikernel based on Linux. https://next.redhat.com/2018/11/14/ukl-a-unikernel-based-on-linux/
Assuming you are running Fedora.
- You need the following packages. Run the following command to install them.
- QEMU
- supermin
- git
- some kernel development tools
sudo dnf install qemu supermin git elfutils-devel kernel-devel
sudo dnf groupinstall "C Development Tools and Libraries"
- This Makefile assumes that you have a main directory in which you have three further sub directories. Follow the commands below to get the correct directory layout. (This will not be necessary as we update the Makefile)
mkdir unikernel
cd unikernel
git clone [email protected]:torvalds/linux.git
git clone [email protected]:razaaliraza/ukl.git
git clone [email protected]:razaaliraza/min-initrd.git
cd ukl
- Now just run a few make commands
make network_server
make all
You can telnet from another terminal into the unikernel on 127.0.0.1 and 5555 port
telnet 127.0.0.1 5555
- To run unikernel with TLS support (errors may occur!)
make multithread
make all