1. installation
source /etc/cid.conf
wget -N -nv http://${rdsserver}/sharel/etc/yum.repos.d/docker-ce.repo -P /etc/yum.repos.d/
yum -y install docker-ce docker-ce-cli containerd.io
systemctl enable --now docker.service
docker pull ghcr.io/home-assistant/amd64-hassio-supervisor
docker pull homeassistant/amd64-hassio-supervisor
docker run -d \
--restart always \
--name homeassistant \
-v /config:/config \
--device=/dev/ttyUSB0 \
-e TZ=Europe/Brussels \
--net=host \
ghcr.io/home-assistant/home-assistant:stable
docker container create \
--name hassio_supervisor \
--privileged \
--security-opt apparmor="hassio-supervisor" \
-v /run/docker.sock:/run/docker.sock:rw \
-v /run/containerd/containerd.sock:/run/containerd/containerd.sock:rw \
-v /run/systemd-journal-gatewayd.sock:/run/systemd-journal-gatewayd.sock:rw \
-v /run/dbus:/run/dbus:ro \
-v /run/supervisor:/run/os:rw \
-v /run/udev:/run/udev:ro \
-v /etc/machine-id:/etc/machine-id:ro \
-v ${SUPERVISOR_DATA}:/data:rw,slave \
-e SUPERVISOR_SHARE=${SUPERVISOR_DATA} \
-e SUPERVISOR_NAME=hassio_supervisor \
-e SUPERVISOR_MACHINE=${SUPERVISOR_MACHINE} \
"${SUPERVISOR_IMAGE}:latest"
2. list all images
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/home-assistant/qemux86-64-homeassistant 2024.12.4 2f0c459d615a 2 days ago 1.78GB
ghcr.io/home-assistant/amd64-hassio-supervisor 2024.12.0 d7ef3c6aab8d 7 days ago 381MB
ghcr.io/home-assistant/amd64-hassio-supervisor latest d7ef3c6aab8d 7 days ago 381MB
ghcr.io/home-assistant/amd64-hassio-dns 2024.12.0 6e5b322cf9ad 7 days ago 68.6MB
ghcr.io/home-assistant/amd64-hassio-cli 2024.09.0 86d243c62d0c 2 months ago 54.5MB
ghcr.io/home-assistant/amd64-hassio-multicast 2024.03.0 73c70d06ef84 9 months ago 42.4MB
ghcr.io/home-assistant/amd64-hassio-audio 2023.12.0 0446586f35b1 12 months ago 71.4MB
ghcr.io/home-assistant/amd64-hassio-observer 2023.06.0 5a1f2299c4fa 17 months ago 7.76MB
3. restart all docker images
docker stop $(docker ps -aq)
docker start $(docker ps -aq)
4. matter
ws://localhost:5580/ws