homeassistant-docker-venv
homeassistant-docker-venv copied to clipboard
Run Home Assistant as non-root using the official docker image
s6 recently added support for dropping permissions using Docker's `USER` directive(https://github.com/just-containers/s6-overlay/issues/19#event-3759845201). This could reduce complexity for our script substantially (to pre-0.107 levels) and might be a lot cleaner. Upstream documentation...
The `docker-compose.yml` sample has the following Volume Mappings: ``` volumes: - "/PATH_TO_YOUR_CONFIG/config:/config" - "/PATH_TO_YOUR_CONFIG/docker/run:/etc/services.d/home-assistant/run" ``` Shouldn't the first line be: ``` volumes: - "/PATH_TO_YOUR_CONFIG:/config" - "/PATH_TO_YOUR_CONFIG/docker/run:/etc/services.d/home-assistant/run" ``` Compare with the...
Been looking around a bit at how to get Docker to run with a different --user, and it seems this is currently not possible. Usually when this is brought up,...
Im adding the Ps4 integration to HA and this requires HA to bind to port 987 which is not allowed when not running as root. In order to get around...
Is there a way to adapt this for use with the home assistant addons base images e.g.: https://github.com/hassio-addons/addon-ubuntu-base ?
I run HA in a docker environment and wanted to use HACS. Therefore I added pip support to the script and tested it. Thought I'd share the addition to the...
I needed to setup home-assistant from scratch, but seems with the latest home-assistant release this docker venv does not work correctly or at least there is weird message in docker...
I noticed that whenever I start the HA container, the run script changes ownership to root. Even if I change it to be owned by my user, when I restart...
Hey thanks a bunch for this useful entrypoint script. I'm trying to bundle my configuration to a simple docker image for an easy deployment. ```dockerfile FROM homeassistant/home-assistant:0.117.6 COPY config /config...
On the new Home Assistant 0.117.0, I'm getting this error message: `s6-overlay-preinit: fatal: unable to chown /var/run/s6: Operation not permitted` It seems like something changed in S6.