vmcli
vftool-rosetta
vmcli | vftool-rosetta | |
---|---|---|
7 | 1 | |
818 | 7 | |
- | - | |
2.8 | 1.8 | |
about 1 month ago | about 1 year ago | |
Swift | Objective-C | |
BSD 2-clause "Simplified" License | MIT License |
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.
vmcli
-
Apple Virtualization Framework
This is higher-level than the Hypervisor framework; this Virtualization framework providers an entire VM with virtio peripherals including a display.
https://github.com/lima-vm/lima can use Virtualization framework for creating VMs, there is also https://github.com/gyf304/vmcli as a very simple CLI utility for running VMs, though it's not very actively maintained.
-
Is there anything like WSL2 in Mac?
In that case, VMs are probably the best options. If performance is not the issue, you can look at UTM (https://docs.getutm.app/installation/macos/). Free from GitHub and $10 from App Store. Parallels is a good option as well. Or something simple as https://github.com/gyf304/vmcli from CLI.
-
Running Intel Binaries in Linux VMs with Rosetta
Virtualization.framework is the hypervisor itself, you only need simple tool to launch it. You probably could just copy-paste provided code into eg. https://github.com/gyf304/vmcli. However macOS 13 beta seems to be only available for registered developers.
-
M1 For Development 1 month later
Use https://github.com/gyf304/vmcli and install docker on Ubuntu ARM. But I am not sure, probably qemu emulation is not going to be here, so you will have to run only ARM images. And for this option you can also install k8s.
- Show HN: Vmctl/Vmcli – Easily Run Linux VMs on M1 Macs
vftool-rosetta
-
Apple Virtualization Framework
Right. I forked it [0] myself and added direct Rosetta support which was trivial to do according to the Apple documentation. I just had to convert Swift example code to Obj-C.
Have had a PR open for several months with no attention from the author. I almost forgot about it until seeing this HN headline.
[0] https://github.com/JamesDunne/vftool-rosetta
What are some alternatives?
vftool - A simple macOS Virtualisation.framework wrapper
colima - Container runtimes on macOS (and Linux) with minimal setup
UTM - Virtual machines for iOS and macOS
OPS - ops - build and run nanos unikernels
macos-virtualbox-vm - Instructions and script to help you create a VirtualBox VM running macOS.
macadmin-scripts - Scripts of possible interest to macOS admins
dark-mode - Control the macOS dark mode from the command-line
rd - Container Management and Kubernetes on the Desktop
m1craft - Run Minecraft on Apple Silicon
lima - Linux virtual machines, with a focus on running containers
VirtualBuddy - Virtualize macOS 12 and later on Apple Silicon, VirtualBuddy is a virtual machine GUI for macOS M1, M2, M3
orbstack - Fast, light, simple Docker containers & Linux machines for macOS