Nenhuma descrição https://hub.docker.com/r/fphammerle/home-assistant

Fabian Peter Hammerle b760401841 added note explaining that Adafruit-DHT is missing in official image 4 anos atrás
CHANGELOG.md 0ec8786d19 pip: install to user's home dir; added gcc 4 anos atrás
Dockerfile b760401841 added note explaining that Adafruit-DHT is missing in official image 4 anos atrás
README.md cec86b5fc0 readme: typo 4 anos atrás
docker-compose.yml 7337481cd2 wrap official image 4 anos atrás

README.md

docker: home assistant 🏡🐳

simple wrapper for home-assistant's official docker image.

changes:

  • dropped setuid and setgid permission bits from all files
  • run home assistant as an unprivileged user (instead of root)

guide: https://www.home-assistant.io/docs/installation/docker/

dockerfile: https://git.hammerle.me/fphammerle/docker-home-assistant/src/master/dockerfile

$ sudo docker run --name home_assistant \
    -v home_assistant_config:/config:rw \
    -p 8123:8123 \
    --security-opt=no-new-privileges --cap-drop=all \
    --restart unless-stopped \
    fphammerle/home-assistant

mount zwave dongle

$ cat /etc/udev/rules.d/zwave.rules
ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="zwave-dongle"
# check permissions of /dev/zwave-dongle
$ sudo docker run --device /dev/zwave-dongle:/dev/zwave-dongle …