← Back to context

Comment by egorfine

1 day ago

I badly need slimmed down macOS for CI VMs. Yeah, some little things can be cut out but most of the time not.

On the other hand, macOS is not that much memory-hungry as one might think. Like, a 4GB VM can start and build software.

Yes, I thought OP was going that direction from the title. I keep reading posts hoping someone has found the solution but there's always a tradeoff.

I think it's important enough that maybe apple will announce something at WWDC. The AIs need better isolation primitives. Running software from un-trusted sources needs easier and more flexible isolation guarantees. Automated builds need lighter weight virtualization options. A dockerfile that you can specify includes xcode-tools, the accessibility APIs. Volume mounting. Network controls. etc.

https://github.com/dockur/macos is a little too clunky? Tart VM or manually doing apple's container CLI is maybe most of the way there, but images are huge.

  • I'm working on a Docker-like software for macOS Guests on macOS Hosts. Prototype's done.

    No, Dockur is ancient for Intel macOS which is almost useless in today's development as some dev tools are only available for Apple Silicon macOS which cannot be virtualized that way.