I’m trying to install hass.io in a docker container, but I get no network or ports. And I have no idea what I’m doing wrong. I’m using docker-compose with these settings:
version: '3' services: homeassistant: container_name: home-assistant image: homeassistant/home-assistant volumes: - ~/config/ha:/config - /etc/localtime:/etc/localtime:ro restart: always network_mode: host
But when I start it either with rebooting or docker-compose up -d it will start without assigning any network. What am I doing wrong?
As you can see in the picture Portainer works as expected.
Things I have tried:
- Install with standard HA config
- Delete image and fresh install