mkdir /vol1/opt/homeassistant
mkdir /vol1/opt/homeassistant/www
mkdir /vol1/opt/homeassistant/custom_components
mkdir /vol1/opt/homeassistant/custom_components/hacs
cd /vol1/opt/homeassistant/custom_components/hacs
wget https://github.com/hacs/integration/releases/download/2.0.1/hacs.zip
unzip hacs.zip
docker run -d \
--restart always \
--name homeassistant \
-v /vol1/opt/homeassistant:/config \
-e TZ=Asia/Shanghai \
-p 8123:8123 \
homeassistant/home-assistant:latest
版权归属:
Administrator
许可协议:
本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权
评论区