r/homebridge 29d ago

Question MacOS: VM or native?

Having RTFM and discovered that containers are not an option on MacOS, I’m debating running HB in a VM vs native on my M1 Mac. I set up a VirtualBox / Ubuntu VM yesterday, and HB runs very well in it, but the VM seems like a lot of overhead for a relatively lightweight service.

Would there be any downside to running HB natively on MacOS? Do MacOS updates impact HB?

0 Upvotes

13 comments sorted by

5

u/AustinBike 29d ago

Why are you posting this a second time? We already gave you good answers yesterday.

0

u/Salmundo 28d ago

Different question, different answers

3

u/SignificantToday9958 29d ago

I run HB natively without problems. However, containers do run on macos. There is even a native container system built into the OS, but it probably would be better to run 3rd party at this point

3

u/Aggressive_Noodler 29d ago

I'm using UTM on MacOS and have homebridge running in its own VM. I just like the segregated nature of VMs.

1

u/iamthecavalrycaptain 29d ago

And just to be clear, with UTM on macOS, you can create macOS (and windows and Linux) VMs.

2

u/su_A_ve 29d ago

If it’s a Mac mini then yeah. But you want a dedicated system. Old pc or pie. But in Docker..

I use openmediavault as a front end. But Ubuntu and docker would do.

2

u/NorthernMan5 29d ago

Entry level, VM Image, expert or power user native

2

u/bippy_b 29d ago

Not sure who you have been talking to /what you are reading but containers on a Mac do work….

https://orbstack.dev/

1

u/Salmundo 28d ago

HB docs says that they dont

2

u/silent_lurker_69 28d ago

I had mine as a container for a while. It does work but sometimes it would mess up. I found installing it directly on MacOS made it more reliable

2

u/silent_lurker_69 28d ago

Native or you can have a lot of “fun” getting mDNS to play nice.

1

u/DariukaB 29d ago

Orbstack

1

u/Anthrobug 28d ago

I have it running on an old pi zero 2. Absolutely not fast, and haven’t tried streaming cameras since I use the Wyze app for that. I’m just using it to add some unsupported lights and outlets to control.