krunvm
lima
Our great sponsors
krunvm | lima | |
---|---|---|
10 | 106 | |
1,341 | 13,972 | |
1.9% | 2.4% | |
5.6 | 9.7 | |
2 months ago | 3 days ago | |
Rust | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
krunvm
-
Show HN: Isolated microVM-based self-hosted GitHub runners
This project creates self-hosted (ephemeral) GitHub runners based on krunvm [1]. krunvm creates microVMs, so the project enables fully isolated runners inside your infrastruture. MicroVMs boot fast, providing an experience close to running containers. The project starts VMs based on the multi-platform OCI images that it creates -- ubuntu [2](default) or fedora [3]. The default is to create far-less capable runners than the GitHub runners, but most settings are similar to when running at GitHub: same user ID, member of the `docker` group, password-less `sudo`, etc. Since krunvm runs on MacOS, this should also run on MacOS -- although I haven't been able to test it: reports and/or PRs are welcome.
[1]: https://github.com/containers/krunvm
- Ask HN: Best way to run Linux VMs on M1 Mac with fileSharing/shared networking?
- krunvm
- Krunvm – Create MicroVMs from OCI Images
-
How to create a kvm virtual machine without a gui?
An interesting alternative is krunvm. On my MacBook Pro M1 it takes less than a second to start a VM and get a Linux shell prompt with krunvm . When I boot up a Fedora CoreOS on the same computer it takes about 17 seconds. Note though that krunvm is for managing lightweight VMs created from OCI images.
- Execute Docker Containers as QEMU MicroVMs
- krunvm is a CLI-based utility for managing lightweight VMs created from OCI images
- Show HN: krunvm – Create and run lightweight VMs from OCI images
lima
-
Colima k8s nix setup
You can run a virtual machine (e.g. lima) from inside a nix-shell, exactly as you would do with a regular shell.
-
Ask HN: Startup Devs -What's your biggest pain while managing cloud deployments?
for others similarly curious, here's an example of the thing: https://github.com/noop-inc/template-java-spring-boot/blob/m...
they seem to be using the excellent lima <https://github.com/lima-vm/lima#readme> for booting on macOS; I run colima for its containerd and k8s support but strongly recommend both projects $(brew install lima colima)
- macOS 14.4 causes JVM crashes
- Lima launches Linux virtual machines for macOS
-
Simulate an Ubuntu-like VM inside macOS
Lima is what I use as well. It's quick and easy to just fire up a VM with default settings, but also very easy to configure with different file sharing options, port forwarding, different linux distributions, etc. (their examples are also pretty good IMO [1]).
In particular I use it to run an amd64 VM, which I need to run a stubborn service for work that doesn't run on arm CPUs.
[1] https://github.com/lima-vm/lima/tree/master/examples
-
Why are Apple Silicon VMs so different?
Lima (1) is a project that packages Linux distros for MacOS and executes them via qemu in the backend. Maybe you could solve your problem by launching one of their vms and inspecting the command line it generates. You might find an option you were missing.
(1) https://github.com/lima-vm/lima
-
The beginning of my eBPF Journey - Kprobe Adventures with BCC
If you wish to delve into all the configuration possibilities for Lima VM, you can visit this resource.
-
UTM – Virtual Machines for iOS and macOS
I'd say Lima and Colima should be enough for most use cases:
https://lima-vm.io/
https://github.com/abiosoft/colima
-
Lima: Linux Virtual Machines on macOS
Github: https://github.com/lima-vm/lima
Lima wraps QEMU in a simple CLI, with neat features for container users, such as filesystem sharing and automatic localhost port forwarding, as well as DNS and proxy propagation for enterprise networks. Rancher Desktop wraps Lima with k3s integration and GUI.
Talks: https://github.com/lima-vm/lima/blob/master/docs/talks.md
- FLaNK Stack Weekly for 17 July 2023
What are some alternatives?
firecracker - Secure and fast microVMs for serverless computing.
colima - Container runtimes on macOS (and Linux) with minimal setup
libkrunfw - A dynamic library bundling the guest payload consumed by libkrun
multipass - Multipass orchestrates virtual Ubuntu instances
slim - Build and run tiny vms from Dockerfiles. Small and sleek.
podman - Podman: A tool for managing OCI containers and pods.
libkrun - A dynamic library providing Virtualization-based process isolation capabilities
Docker-OSX - Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
harvester - Open source hyperconverged infrastructure (HCI) software
UTM - Virtual machines for iOS and macOS
kwarantine - Kwarantine can run strongly isolated containers in a multi-tenant setting
minikube - Run Kubernetes locally