1 unstable release

0.1.6 Jul 5, 2022

#502 in Configuration

Apache-2.0

42KB
1K SLoC

krunvm

krunvm is a CLI-based utility for creating microVMs from OCI images, using libkrun and buildah.

Features

  • Minimal footprint
  • Fast boot time
  • Zero disk image maintenance
  • Zero network configuration
  • Support for mapping host volumes into the guest
  • Support for exposing guest ports to the host

Demo

asciicast

Supported platforms

  • Linux/KVM on x86_64.
  • Linux/KVM on AArch64.
  • macOS/Hypervisor.framework on ARM64.

Installation

macOS

brew tap slp/krun
brew install krunvm

Fedora

dnf copr enable -y slp/libkrunfw
dnf copr enable -y slp/libkrun
dnf copr enable -y slp/krunvm
dnf install -y krunvm

Building from sources

Dependencies

Building

cargo build --release

Dependencies

~2–3MB
~53K SLoC