xhyve
lima
xhyve | lima | |
---|---|---|
10 | 106 | |
6,422 | 14,016 | |
0.1% | 1.3% | |
0.0 | 9.7 | |
over 2 years ago | 2 days ago | |
C | Go | |
GNU General Public License v3.0 or later | 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.
xhyve
-
How to connect to a docker container service when it's running on a mac?
This is due to the way Windows and OSX implement docker. They both use a VM running Linux; Windows uses Hyper-V and OSX uses Bhyve. (https://github.com/machyve/xhyve)
-
Asymptotic Notation !
Nowadays, docker uses runc, that is OCI compliant. Docker on macOS uses Hypervisor.framework through xhyve, and is completely macOS native. No VM is used (even under the hood) when running docker on macOS, it's native.
- Does xhyve on MacOS (Monterey) supports the passthru of the GPU ?
-
Favourite Hypervisor for a macOS Host?
I was happiest with xhyve https://github.com/machyve/xhyve
Serial console in terminal was nice (for me!), network configuration was trash (I think I was able to set the subnet by fiddling around with system plists? and it would revert from time to time), and I didn't have to deal with Virtualbox. I've been away from macs for a while, I don't know if xhyve works on the M1, but it might. I ran a FreeBSD vm so I could run my server code on my laptop in an environment that was like production but slower.
-
QEMU 6.2
The xhyve fork/port of bhyve for MacOS is worth mentioning: https://github.com/machyve/xhyve
-
[Desktop] Mac mini – Apple M1 Chip 8-core CPU, 8-core GPU – 8GB Memory – 256GB SSD - $569.99 ($669.99-$100)
Docker for Mac actually spins up TinyCoreLinux VMs using xhyve that your docker containers run on top of. This is because containers borrow the host kernel, so you can't natively run Linux containers on Mac. Xhyve spawns VMs so a Linux kernel will be present.
- Can you run “bare metal” VMs on a 2019 MBP? (Pre M1 Chip)
- Linux, macOS, and Windows running simultaneously on a first gen Core i5
-
Apple M1 CPU Microarchitectures (Firestorm and Icestorm): instruction tables describing throughput, latency, and uops
There's also been a port of FreeBSD's bhyve to macOS for years: https://github.com/machyve/xhyve (which, in turn, is [or at one point was] used by Docker to virtualize Linux)
-
What Is Your Hypervisor
I've used xyhve on my Mac to have a FreeBSD VM running a copy of https://www.freshports.org/, including a copy of the database, which runs about 200GB. For dev work, it was fine. I used it when I didn't have [great] internet connectivity, for example, when on the train/plane. When upgrading packages or just doing dev work, it was great.
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?
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
colima - Container runtimes on macOS (and Linux) with minimal setup
QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
multipass - Multipass orchestrates virtual Ubuntu instances
xnu-qemu-arm64
podman - Podman: A tool for managing OCI containers and pods.
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
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.
Medo - Haiku Media Editor
UTM - Virtual machines for iOS and macOS
vm_configs - libvirt configs for fresh VMs
minikube - Run Kubernetes locally