← Back to context

Comment by nichtverstehen

24 days ago

Author here. Happy to answer questions.

Excellent article. Just the battle I'm fighting now in terms of virtualization.

Could you please share how you setup the host Mac? Which pmset settings, defaults, tips and tricks for it?

  • Thank you!

    We have all the hosts enrolled into MDM, so we have all sorts of access ready: SSH, KVM, VNC, MDM. With Macs in the DC we found having all these ways to access the machines is really essential. Things break in unexpected ways.

    In terms of settings, besides the obvous (do not sleep, do not auto-update, etc), disabling USB restricted mode helps a lot (Privacy&Security > Allow accessories to connect) - no need to approve connected devices via UI.

    What are you building if it's not a secret?

    • MDM is essential, yes.

      I'm building a EU Mac mini hosting service. Very early stage, I have just bootstrapped the company.

    • ... and I'm slooowly very slowly thinking of creating a "mock Docker".

      Think 80% of Dockerfile syntax supported for running "docker build" against macOS guests. I do have some pieces already done here and there and basically it all comes down to actually creating a product out of a pile of various working scripts (OSS obviously). That's the hardest part.

      And then comes the final boss of the game: marketing. Not sure anyone needs this at all.

I remember seeing on X about someone building iOS apps on Omarchy - have you something tried similar?

Also: which solution you have chosen for the p2p deployment? I used to manage deployments on a large scale cluster and got it down from 2h to <1m using libtorrent.

  • Yeah, as alluded to in the post, we have a custom p2p distribution, very inspired by BitTorrent. So you're on the right track :). We'll probably share more on that topic at some point too.

    But honestly before we had that, we started with a system where nodes pulled whole images from each other (a decentralized algorithm without central coordination, but no chunking). It worked surprisingly well considering how simple the implementation was.

Do you think Apple will allow more than 2 VMs at some point?

  • I was hopeful that they might lift the limit with a refresh of Mac Pro (it even had a rack mount version). But with Mac Pro discontinued not keeping the hopes up anymore.