krunvm
is a CLI-based utility for managing lightweight VMs created from OCI images, using libkrun and buildah.
- 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
- Linux/KVM on x86_64.
- Linux/KVM on AArch64.
- macOS/Hypervisor.framework on ARM64.
brew tap slp/krun
brew install krunvm
dnf copr enable -y slp/libkrunfw
dnf copr enable -y slp/libkrun
dnf copr enable -y slp/krunvm
dnf install -y krunvm
cargo build --release
The current implementation of TSI (Transparent Socket Impersonation) in libkrun is limited to TCP and IPv4. This is expected to improve soon.
As a consequence of the previous point, libkrun-based VMs need to use TCP for connecting to the DNS servers. musl libc does not support domain name resolution using TCP, so on distributions based on this library (such as Alpine), name resolution is broken.