Toro: Deploy Applications as Unikernels

https://news.ycombinator.com/rss Hits: 20
Summary

Toro Introduction Toro is a unikernel dedicated to deploy applications as microVMs. Toro leverages on virtio-fs and virtio-vsocket to provide a minimalistic architecture. Features Support x86-64 architecture Support up to 512GB of RAM Support QEMU-KVM microvm and Firecracker Cooperative and I/O bound threading scheduler Support virtio-vsocket for networking Support virtio-fs for filesystem Fast boot up Tiny image Built-in gdbstub How try Toro? You can try Toro by running the HelloWorld example using a Docker image that includes all the required tools. To do so, execute the following commands in a console (these steps require you to install before KVM and Docker): wget https://raw.githubusercontent.com/torokernel/torokernel/master/ci/Dockerfile sudo docker build -t torokernel-dev . sudo docker run --privileged --rm -it torokernel-dev cd examples/HelloWorld python3 ../CloudIt.py -a HelloWorld If these commands execute successfully, you will get the output of the HelloWorld example. You can also pull the image from dockerhub instead of building it: sudo docker pull torokernel/torokernel-dev:latest sudo docker run --privileged --rm -it torokernel/torokernel-dev:latest You can share a directory from the host by running: sudo docker run --privileged --rm --mount type=bind,source= " $( pwd ) " ,target=/root/torokernel -it torokernel/torokernel-dev:latest You will find $pwd from host at /root/torokernel in the container. How build Toro locally? Execute the commands in ci/Dockerfile to install the required components locally. Then, Go to torokernel/examples and edit CloudIt.py to set the correct paths to Qemu and fpc. Optionally, you can install vsock-socat from here and virtio-fs from here. You need to set the correct path to virtiofsd and socat. Run the HelloWorld Example Go to examples/HelloWorld/ and execute: python3 ../CloudIt.py -a HelloWorld Run the StaticWebServer Example To run the StaticWebserver, you require virtiofsd and socat. To compile socat, execute the follo...

First seen: 2025-12-30 18:04

Last seen: 2025-12-31 13:07