Live data from Hacker News

Show HN: Lumier – Run macOS VMs in a Docker

github.com

31–40 of 59 posts

Re: Show HN: Lumier – Run macOS VMs in a Docker

#31
post #22

Super nice! Do you think it's possible to run XCode and do an app build with this approach?

Yes! That’s actually what https://tuist.dev is doing. They use Lume to spin up ephemeral macOS VMs with Xcode preinstalled, so they can run builds in clean, reproducible environments. It’s great for CI workflows where you want full macOS without managing long-lived hosts

Re: Show HN: Lumier – Run macOS VMs in a Docker

#33

Slightly off topic, does anyone know a good way to run Mac VMs on Linux hosts?

Apple's licensing requires the host machine to be OSX. You cannot do what you're asking and be in license compliance.

Correct. Apple's licensing requires macOS to run on Apple hardware, and limits you to 2 concurrent macOS VMs per host. This is enforced by the Apple Vz framework itself. Some KVM-based solutions bypass these checks, but they aren’t compliant for production use.

There’s instead no such limitation when running Linux VMs on a macOS host.

Re: Show HN: Lumier – Run macOS VMs in a Docker

#34
post #24

From what I understand VM does _not_ run in docker. The management interface does and connects to the VM running on macOS ARM host via Apple Virtualization Framework.

been a while since it's come up but does Darwin support kernel level containerization yet? Apple should recognize the use case or utility and run with it.

Not yet. Darwin doesn’t support kernel-level containerization like namespaces and cgroups in Linux. Most tooling ends up relying on full VMs (via Apple’s VZ framework) for isolation. Agree though: there's a growing use case Apple could lean into more directly.

Usually they are responsive to these feedbacks, we'll try to mention on a existing GH issue: https://github.com/Developer-Ecosystem-Engineering

Re: Show HN: Lumier – Run macOS VMs in a Docker

#35
post #22

Super nice! Do you think it's possible to run XCode and do an app build with this approach?

Yes! That’s actually what https://tuist.dev is doing. They use Lume to spin up ephemeral macOS VMs with Xcode preinstalled, so they can run builds in clean, reproducible environments. It’s great for CI workflows where you want full macOS without managing long-lived hosts

Is it possible to build and host our own Mac base images? Or is there a mandatory dependency to Cua's hosted registry?

Re: Show HN: Lumier – Run macOS VMs in a Docker

#36
post #35

Earlier quoted context omitted.

Yes! That’s actually what https://tuist.dev is doing. They use Lume to spin up ephemeral macOS VMs with Xcode preinstalled, so they can run builds in clean, reproducible environments. It’s great for CI workflows where you want full macOS without managing long-lived hosts

Is it possible to build and host our own Mac base images? Or is there a mandatory dependency to Cua's hosted registry?

Yes, you can build and host your own Mac base images directly using the lume CLI. See the usage guide at: https://github.com/trycua/cua/tree/main/libs/lume#usage

Currently, lume supports pushing to GitHub Container Registry (GHCR). However, it’s feasible to extend support to any OCI-compatible registry in the future.

Steps to build and push a custom image:

1. Start by creating a new VM or pulling an existing image. Launch the VM, make your desired modifications, and use it as your golden image.

2. Generate a classic access token on GitHub. Then: export GITHUB_USERNAME= export GITHUB_TOKEN=

3. Push your custom image: lume push "" ":" --registry ghcr.io --organization "" --additional-tags ""

Example: lume push "lume_vm" "macos-sequoia-cua:latest" --registry ghcr.io --organization "trycua" --additional-tags "15.2"

Pull your image later with: lume pull "macos-sequoia-cua:latest" --registry ghcr.io --organization "trycua"

There is no mandatory dependency on the Cua-hosted registry - you are free to maintain your own image registry using GHCR or another OCI-compatible alternative (with some extension work).

Re: Show HN: Lumier – Run macOS VMs in a Docker

#37

Earlier quoted context omitted.

Apple's licensing requires the host machine to be OSX. You cannot do what you're asking and be in license compliance.

Correct. Apple's licensing requires macOS to run on Apple hardware, and limits you to 2 concurrent macOS VMs per host. This is enforced by the Apple Vz framework itself. Some KVM-based solutions bypass these checks, but they aren’t compliant for production use. There’s instead no such limitation when running Linux VMs on a macOS host.

I'm pretty sure the requirement is that the hardware is an Apple Mac, I don't remember macOS being your Hypervisor a requirement. ESXI supports running macOS on Apple Hardware (it extracts the key from the SMC).

Re: Show HN: Lumier – Run macOS VMs in a Docker

#39
post #35

Earlier quoted context omitted.

Is it possible to build and host our own Mac base images? Or is there a mandatory dependency to Cua's hosted registry?

Yes, you can build and host your own Mac base images directly using the lume CLI. See the usage guide at: https://github.com/trycua/cua/tree/main/libs/lume#usage Currently, lume supports pushing to GitHub Container Registry (GHCR). However, it’s feasible to extend support to any OCI-compatible registry in the future. Steps to build and push a custom image: 1. Start by creating a new VM or pulling an existing image. L…

Thanks! Do you rely on bleeding edge OCI features like artifacts, or on the original features? I'm asking to get a sense of how many registries would work out of the box with this.

I'm excited to play with lume! My use case is adding native Mac execution to Dagger (https://dagger.io) :)

Re: Show HN: Lumier – Run macOS VMs in a Docker

#40

Earlier quoted context omitted.

Not quite, there's no need to run a Linux VM on macOS just to spin up macOS VMs. Since the host is already macOS, we leverage the Apple Virtualization Framework (Vz) directly via a lightweight background service (lume). The Docker container (Lumier) acts purely as a frontend and delivery mechanism for managing and launching VMs — there's no nested virtualization or Linux VM involved. That said, you're absolutely righ…

Docker uses a Linux VM to run on macOS.

[deleted]
Post reply on HN