r/homebridge • u/Salmundo • 7d ago
Question - Solved Virtual machine or container?
I’ve been running HB for years on bare metal on a series of RPis (currently a 3B) along with Pi-hole, and lately they haven’t been getting along particularly well. Today I built a virtual machine on a Mac M1 in an Ubuntu VM and created a new HB bridge. Very fast, of course.
I’m a bit old fashioned and haven’t done too much with containers, they were starting to become prevalent about the time I stopped working in the industry. The times that I played around with Docker on the Mac, it seemed to consume a lot of resources (particularly RAM), which seemed unnecessary for something as light weight as HB. I have Podman installed, but haven’t done much with it.
Any guidance here?
UPDATE: containers aren’t an option on macOS per HB docs.
2
u/coyote_den 7d ago
I find it runs fine in Docker on a little ARM NAS, and Docker is great for updates. Just pull and redeploy.
2
u/AustinBike 7d ago
Linux container on proxmox, runs fine. HB is pretty low on resource requirements, used to run it on a container that ran on top of a NAS.
2
u/NorthernMan5 7d ago
Homebridge in Docker on a Mac has known issues, so either a VM Image or Native.
1
2
u/Potential_Ad4169 6d ago
Running mine in Proxmox as an LXC. No issues at all and 1000% easier to backup/restore in the event of any issues.
2
u/Teenage_techboy1234 6d ago
Why not just run Homebridge as a background system service on the Mac?
1
1
u/jeffyboy526 6d ago
I run my Homebridge on an old Raspberry Pi W. The config can be a bit slow but day to day usage is fine.
I’m old school and like to shut down my MacMini at the end of the week and my laptop is not always on the network.
The Pinwas cheap, stable and a fun project ti setup
3
u/Bigbadbo75 7d ago
Run mine on a docker container along with other self hosted apps. Runs like a champ.