logoalt Hacker News

rvnxtoday at 3:11 PM0 repliesview on HN

To create an ephemeral (docker-like) MacOS VM on a Mac with full performance and access (e.g. GPU) you have to use a virtualization API provided by Apple.

For most CI use, you can choose between:

  Anka, a "contact-us for pricing" closed-source projet, where you have to pay expensive license (easy 3000 USD/yr per machine)
or

  tart, which is a lightweight wrapper around the official Apple API.
But you have to know that on MacOS, there is an artificial limit of 2 VMs per Mac... but well:

https://github.com/cirruslabs/orchard/commit/3cfa2445500f45f...

With https://khronokernel.com/macos/2023/08/08/AS-VM.html

Some people might find it very attractive:

  Instead 25 Mac Mini you might need only 5.
  + No licensing to pay to Anka.

Even without bypassing the limit it is great actually