Show HN: krunvm – Create and run lightweight VMs from OCI images

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • firecracker

    Secure and fast microVMs for serverless computing.

  • Also, firecracker did not merge virtio-fs [1]. So I guess it is a scope and priority decision:

    > To not trade off our core use case simplifying assumptions, we'll need something like a way to build different Firecracker "specialized variants" or alternatively a plugin system. This is something worth discussing for 2021. Again this is not a guarantee, but virtio-fs could fit in such a scheme, especially if it's a rust-vmm crate we can easily import over.

    [1]: https://github.com/firecracker-microvm/firecracker/pull/1351...

  • libkrun

    A dynamic library providing Virtualization-based process isolation capabilities

  • krunvm uses libkrun (https://github.com/containers/libkrun) for executing the VM, and while the later is also based in rust-vmm and shares some code with Firecracker and Cloud-Hypervisor, it's specialized in the process isolation use case. This means it implements a different set of devices (most notably, virtio-fs instead of virtio-blk, and virtio-vsock+TSI (Transparent Socket Impersonation) instead of virtio-net), and it takes the form of a dynamic library instead of a final binary.

    In fact, the networking limitations are caused by this use of virtio-vsock+TSI. TSI (WIP implementation here: https://github.com/containers/libkrunfw/blob/main/patches/00...) is an experimental mechanism that provides inbound and outbound networking capabilities to the guest, with zero-configuration and minimal footprint, by transparently replacing user-space AF_INET sockets with AF_TSI, that have both an AF_INET and AF_VSOCK personality.

    TSI has the additional advantage that, for the host side, all connections appear to come and go to the process acting as a VMM (in this case, krunvm, as it links directly with libkrun), which makes it very container-friendly in a way that even side-cars (such as Istio) work out-of-the-box.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • krunvm

    Create microVMs from OCI images

  • libkrunfw

    A dynamic library bundling the guest payload consumed by libkrun

  • It's using a different method of loading the kernel:

    https://github.com/containers/libkrunfw

    Firecracker is using rust-vmm:

    https://github.com/rust-vmm

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Lambda Internals: Why AWS Lambda Will Not Help With Machine Learning

    1 project | dev.to | 25 Apr 2024
  • Virtual Machine as a Core Android Primitive

    2 projects | news.ycombinator.com | 5 Dec 2023
  • Sandboxing a .NET Script

    1 project | /r/dotnet | 22 Oct 2023
  • I'm looking for a virtual machine that prioritizes privacy and does not include tracking or telemetry.

    1 project | /r/privacy | 5 Jun 2023
  • Making save states for any program?

    1 project | /r/linuxquestions | 9 Apr 2023