Live data from Hacker News

Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

github.com

61–70 of 85 posts

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#62
> What would make you replace UTM/Multipass/Docker Desktop with this?

Just checked my list of VMs in UTM; 5 Linux (Ubuntu, Debian, and Fedora), 9 Mac OS X/OS X/macOS (versions stretching back from Tiger to Sequoia), and 10 Windows (XP through 11). Lume would need to support not only Windows but also emulation in order to consider a move.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#63
post #48

Can you use to launch an Intel VM on Apple Silicone and visa versa? I’m interested in doing this so I can compile C++ applications for different architectures on MacOS. Do you know of any other “easy” methods?

I sometimes use Docker for this, assuming you are talking about running Linux on x86-64.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#64
post #2

I wish it was possible to run a Debian VM on iOS. For laptops, there are many nice options. But for tablets, the latest iPads are currently unmatched at under 600 grams for a 13" tablet. So I would love to use one of those.

I’d check out multipass from canonical. IIRC you can specify the image it uses.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#66

Would you mind educating me about use cases for having one or even multiple MacOS VMs on an apple silicon machine please?

I wonder if this is a good alternative for running potentially malicious tools like random fine tunes of LLMs or coding agent outputs with little to no risk

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#67

Would you mind educating me about use cases for having one or even multiple MacOS VMs on an apple silicon machine please?

Trying to run complex CI/CD for automated build/test toolchains for building iOS apps. We have a Mac Studio dedicated to that purpose. Periodically something on it stops working (software updates are a common reason). Trying to run CI/CD on a bare metal consumer oriented OS is an exercise in frustration. It’s also handy to be able to sandbox different environments from each other. Once you have multiple projects that…

This. I've been managing a CI/CD system of around 50 macOS build machines for a few years now, previously our own hardware in a data center, currently EC2 Mac instances.

All the things Apple puts in place to make macOS more secure and consumer friendly make it really hard to manage as a server, especially if you don't want to use MDM. For example with the current version of macOS, the macOS AMI that Amazon provides requires manually logging in over screen sharing to enable local networking. So I haven't updated to Sequoia yet. As it is, my AMI build process is fully automated but still takes almost 2 hours and involves first mounting the Amazon AMI to a Linux instance to modify parts of the image that are read-only when it's booted from.

Our current CI/CD process is to create a unique build user per build, then tear it down afterwards. EC2 has something called root volume replacement to allow you to reset a machine to its AMI, but that still takes too long (~ 10 minutes) to do between every build.

(At least with EC2 Macs I no longer need to open a ticket with DC ops when there's a hardware issue.)

Using macOS VMs that can be quickly reset makes this all a lot easier, more flexible, secure, and cleaner. The only currently viable options I'm aware of are tart and anka. I'm glad to see some open source competition in this space.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#68

Would you mind educating me about use cases for having one or even multiple MacOS VMs on an apple silicon machine please?

When IT policy prevents root access to the host but VMs are fine

Shh. I need my VMs and they also help me run software the corp malware doesn’t play nice with.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#69
post #48

Can you use to launch an Intel VM on Apple Silicone and visa versa? I’m interested in doing this so I can compile C++ applications for different architectures on MacOS. Do you know of any other “easy” methods?

You can do this without virtualization/emulation, pass ‘-arch x86_64’ or ‘-arch arm64’ to clang. Or both, for a universal binary. And on Apple Silicon, you can test them both thanks to Rosetta.

Re: Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon

#70
post #9

I read GPU and USB passthrough somewhere and did not believe it

Why not? Shared USB and a paravirtualized GPU have been on macOS VMs for years now.

I’m pretty sure there’s no way to pass USB devices through to a guest VM when using Virtualization.framework (which is required for running macOS VMs)
Post reply on HN