简单说一下我的安装过程,留个记录。
1,首先要拉取HomeAssistant的镜像,我是从藏云阁拉取的镜像,你也可以从其他仓库拉取镜像!建议拉取最新的HomeAssistant镜像!
docker pull registry.cncfstack.com/docker.io/homeassistant/home-assistant:2025.12.5
2,成功拉取镜像以后就是安装了,但是安装命令结尾要结合拉取镜像的地址做适当修改!
docker run -dit \
-v /opt/ha:/config \
-v /dev:/dev \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Shanghai \
-p 8123:8123 \
--name homeassistant \
--hostname homeassistant \
--restart unless-stopped \
registry.cncfstack.com/docker.io/homeassistant/home-assistant:2025.12.5
命令末尾加粗显示的地方要修改为你拉取镜像的实际地址!
3,注意事项!使用本安装方法,必须先移除海纳思官方的HomeAssistant 容器和镜像。否则报错!!!
最后再次感谢wjwo楼主原创的安装方法,我只是把安装过程遇到的问题做了一个归纳和总结。