No IP address in Docker container

Hello,

I can’t for the life of me install Hassio into a docker container. Everything SEEMS to go smoothly, but I can’t access the interface to begin setup.

According the the instructions from HA, I need to forward traffic using netsh commands. I tried that, but I have no idea what the IP of my docker container with Hassio is because when I run the command to inspect the IP, it returns nothing.

Any ideas why it doesn’t have an IP?

the HA instance should be available at the IP address of the host machine at port 8123 for the default config.

You don’t use the IP of the docker container itself.

I am not able to access it through the Host machine’s IP either.

I guess you’re trying to run it in Windows ?

That is correct.

I’m having the same exact problem. I don’t know what the Docker container’s IP address is. I went through the same exact steps as you. Did you ever figure it out?

I found a solution that worked for me. I used the following code instead.

docker run --init -d --name="home-assistant" -e "TZ=America/Los_Angeles" -v c:/homeassistant:/config -p 8123:8123 homeassistant/home-assistant:stable