Live data from Hacker News

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

github.com

71–80 of 85 posts

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

#72
post #8

How does this compare to Lima[1] and Tart[2], which are similar? Also, would it be possible to run BSDs with this? [1] https://lima-vm.io [2] https://tart.run

Yes, lume relies on Apple's Virtualization framework and can run BSD on a Mac with Apple silicon: https://wiki.freebsd.org/AppleSilicon I'll definitely document the option in the README, thanks! On Lima: - Lima focuses on Linux VMs and doesn't support managing macOS VMs. - It is more of a container-oriented way of spinning up Linux VMs. We're still debating whether to go in that direction with lume, but the good news…

Hey, thanks for responding.

I think it is great to have more options in this space, as all of these options are still quite immature. In terms of approaches to take, I find one of the challenges in using lima is that, they way lima works makes the VM different enough from production that I can't be confident testing covers everything.

In terms of feature set, I think some of these have been mentioned below, but these would be great: - network bridging - snapshotting - usb / bluetooth passthrough (this is probably dependent on Apple's framework)

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

#73
post #14

congrats on the open sourcing and launching! beyond the desire to run VMs in "1 command", i don't quite get the reasoning behind this project. could you elucidate? like, besides running macOS VMs, how is it different from lima, colima, and friends? the name lume is quite unfortunate. the hard part about running VMs isn't really how to launch them (well, ahem, i'm looking at you, qemu), but getting data in and out, an…

Honestly, LXD commands and LXD cli would probably have worked with any backend.

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

#74

Earlier quoted context omitted.

Always wondered the same, re: updates. To be fair, macOS I believe is downloading an entire OS image each time. macOS is immutable root, like Fedora Silverblue, so OS updates download the entire OS image each time. On a package-based system you're doing a diff update, essentially. Then again, even Fedora Silverblue image updates don't take nearly as long as macOS. At least both are better than Windows, god knows what…

Yeah, but the SSDs today can write something like 2GB/s, so even if you're re-writing the entire OS, you should be able to do that in what? 1 minute max? Assuming they're using some fast parallel compression algo as well when unpacking it...

No, they’re using slow parallel compression.

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

#75

Earlier quoted context omitted.

I have an M4 Mac Mini running the following in a VM: - OpenWRT (previously OPNSense & once Mikrotik RouterOS) using 2x 2.5Gbps Ethernet NICs via USB-C - OpenMediaVault (Exposing a 4-bay DAS via USB-C, 2x3TB Drives in Btrfs RAID-1) - HassOS (Home Assistant OS) On the host, I'm running OLlama and a reverse proxy through Docker. The whole thing uses 7 watts of power at any given time - I've seen max peaks of 12w when ru…

I’d use a Mac Mini in a heartbeat if they had an ECC option :(

What is your use case where not having an ECC is critical? Assuming something related to complex calculations that cannot fail and takes a lot of time to process?

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

#76

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

I'm probably an oddball compared to most, but I use a VM as my main work environment. My main reason is because it's super easy to create a backup and test anything like OS or major software updates there first to make sure it doesn't hose anything. Or if I just want to tinker and try new things without risking breaking anything. Also, where I work they get us new hardware every 3 years, and it means I don't have to spend a long time trying to set my environment up on a new computer. I just copy over the VM and jump right in.

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

#77
post #67

Earlier quoted context omitted.

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 r…

Check out my project, WarpBuild [1], if you want managed Mac VMs for CI/CD purposes. It plugs in nicely to the GitHub actions ecosystem and provides machines on demand.

[1] https://warpbuild.com

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

#78
post #75

Earlier quoted context omitted.

I’d use a Mac Mini in a heartbeat if they had an ECC option :(

What is your use case where not having an ECC is critical? Assuming something related to complex calculations that cannot fail and takes a lot of time to process?

If you care about your data, you want ECC. If a bitflip happens in memory, zfs will for example, not catch the error and happily write out the corrupted file.
Post reply on HN