January 8, 2024
Quick & Easy: Install Home Assistant Docker Container
Run Home Assistant Container
sudo docker pull ghcr.io/home-assistant/home-assistant:stable
sudo docker run -d --name ha --restart=unless-stopped --privileged -e TZ=Europe/Oslo -v $HOME/ha_config:/config --network=host ghcr.io/home-assistant/home-assistant:stable
Updating Home Assistant Container
sudo docker stop ha
sudo docker rm ha
sudo docker pull ghcr.io/home-assistant/home-assistant:stable
sudo docker run -d --name ha --restart=unless-stopped --privileged -e TZ=Europe/Oslo -v $HOME/ha_config:/config --network=host ghcr.io/home-assistant/home-assistant:stable