karlentwistle / ruby_home

Ruby HAP Server - HomeKit support for the Rubyist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running within Docker

johndbritton opened this issue · comments

It is possible to run ruby_home on Debian within Docker, but if you're running Docker on macOS you're likely to have problems.

ruby_home depends on dnssd which in turn depends on dbus. From what I can tell dbus is not enabled by default in Docker containers. The only workaround I could find was to connect the container to the host machine's dbus by mounting two volumes to the Docker container and running the container on a Linux host machine.

I was not able to get this to run in a Docker container running on a macOS host.

I also dropped a note upstream on the dnssd gem about this: tenderlove/dnssd#26