Docker installation working only once


#1

Hi ,

I just started Home Assistant on a docker server using " ```
docker run -d --name=“home-assistant” -v /PATH_TO_YOUR_CONFIG:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant

Looking at docker everything seems fine except that docker container ps shows nothing in the ports column. All other containers show their port mappings.

I started HA on another docker server and had exactly the same behavior. First start went fine and there were no problems to connect to HA. After stopping and restarting the container - the same problem.

Hints/resolutions would be very helpfull
thx in advance

#2

With net=host, no ports are published explicitely. You should run

docker logs home-assistant 

for analysis.


#3

Sounds like it is working exactly as it should considering you specified --net=host


#4

Thx this helped.
brgds
fip