homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

startup perms #385

Closed jr0dd closed 2 years ago

jr0dd commented 2 years ago

Running this on Kubernetes and trying to use the startup.ah as a configmap errors because because kubernetes mounts these is read-only. The container never starts because it fails to chown that file. I was hoping you could add -f flag to the chown command on /homebridge. That way if it does error it won't change the exit code.

Logs:

chown: changing ownership of '/homebridge/startup.sh': Read-only file system
jr0dd commented 2 years ago

nvm that wasn't what was really causing my issue. avahi running on the node was bumping heads with homebridge for ports 5353...