Setup
1. Docker:
https://www.thetechnerd.org/articles/installing-home-assistant-using-docker-a-step-by-step-guide
TNQ@TNQ:~ $ sudo mkdir /opt/homeassistant
TNQ@TNQ:~ $ cd /opt/homeassistant
TNQ@TNQ:/opt/homeassistant $ mkdir config
mkdir: cannot create directory ‘config’: Permission denied
TNQ@TNQ:/opt/homeassistant $ sudo mkdir config
TNQ@TNQ:/opt/homeassistant $ nano docker-compose.yml
TNQ@TNQ:/opt/homeassistant $ sudo nano docker-compose.yml
TNQ@TNQ:/opt/homeassistant $ sudo docker compose up -d
WARN[0000] /opt/homeassistant/docker-compose.yml: `version` is obsolete
[+] Running 29/1
[+] Running 29/1 [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 521MB / 523.1MB Pulling 457.4s
[+] Running 29/1 [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 521MB / 523.1MB Pulling 458.8s
[+] Running 31/1 [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 521MB / 523.1MB Pulling 460.0s
✔ homeassistant Pulled 580.1s
[+] Running 1/1
✔ Container homeassistant Started 19.1s
TNQ@TNQ:/opt/homeassistant $ docker ps -a
Cannot connect to the Docker daemon at unix:///home/TNQ/.docker/desktop/docker.sock. Is the docker daemon running?
TNQ@TNQ:/opt/homeassistant $ client_loop: send disconnect: Connection reset