Cannot connect to HomeAssistant:8123 in Docker

Hi,

I have HomeAssitant installed in docker on Raspbian on Pi3

I have HomeAssistant started in a container however I cannot connect to http://raspberryip:8123 arrgh!

Is there anything I need to configure etc to allow my docker container to allow connections?

Anyone got instructions to install and configure docker on RaspberryPi3? Including enabling networking?

Thanks

What command you use to build container?

Probably should have -p 8123:8123 or --net=host

What is output of ‘sudo docker ps’ from command line?

Hi,

Thanks the docker as follows:

I used the command below, I will remove the container and create a new one and modify command to include -p 8123:8123 to see if that gets things up and running back soon.

Command I installed with:

docker run -d --name="homeassistant" -v /boot/haconfig:/config -v /etc:/localtime:ro homeassistant/raspberrypi3-homeassistant

Command I will run and see what happens:
docker run -d --name="homeassistant" -v /boot/haconfig:/config -v /etc:/localtime:ro -p 8123:8123 homeassistant/raspberrypi3-homeassistant

Edit: It works !!! wow so responsive better than Hassio !!

Is this the correct docker image for raspberry pis? The docker installation page only has a Linux section, which does not mention this. It uses homeassistant/home-assistant image.

Hi,

I am not 100% sure it seems to work well for me not sure what the difference between them is the link below to Pi3:

https://hub.docker.com/r/homeassistant/raspberrypi3-homeassistant/

If you try with homeassistant/home-assistant let me know if it works okay

I know the Linux version works fine on a VirtualBox linux vm.

I had just suggested to someone the other day that they try the docker install and they said it didn’t work. Looking at it, if they followed the instructions they probably got the wrong version.:open_mouth:

But looking at your configuration, it looks a little odd

/boot seems a strange place to put you ha config files. Why have you put it there?

This doesn’t seem to match anything in the examples. Are you sure that works?

Hi,

I used:

docker run -d --name="homeassistant" -v /boot/haconfig:/config -e "TZ=Australia/Queensland" -p 8123:8123 homeassistant/raspberrypi3-homeassistant

I want my HomeAssistant config files to be persistent on the boot volume of the sdcard so that I can samba from my windows machine. The folder is /boot/haconfig

I want my HomeAssistant config files to be persistent on the boot volume of the sdcard so that I can samba from my windows machine. The folder is /boot/haconfig

on a Pi, the entire SDCard is persistent. /boot is a horrible place to keep files. just keep them in your /home/pi/ directory.