Im on osx and when i run homeassistant with docker it creates the config dir but it never Seem to start homeassistant. Just gets stuck with nothing in logs.
Anyone with ideas on how to debug it ?
Im on osx and when i run homeassistant with docker it creates the config dir but it never Seem to start homeassistant. Just gets stuck with nothing in logs.
Anyone with ideas on how to debug it ?
docker logs home assistant
yeah sorry I should have pasted that output:
docker run -it --net=host -v ./etc/config:/config homeassistant/home-assistant
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
and it then just hangs there.
nothing responding on any ports with or without host network.
Container doesn’t seem to be listed for osx but the full command line should be
docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-e TZ=MY_TIME_ZONE \
-v /PATH_TO_YOUR_CONFIG:/config \
-v /run/dbus:/run/dbus:ro \
--network=host \
ghcr.io/home-assistant/home-assistant:stable
same result - nothing happens.
yeah - im really not looking to run it in “production” just wanting to run it for testing some API access. was hoping could use docker for that on most major OS’s.
Certainly can on Linux