#1首先安装一个防止出现错误的依赖。依次输入如下命令
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo 'deb http://httpredir.debian.org/debian buster-backports main contrib non-free' | sudo tee -a /etc/apt/sources.list.d/debian-backports.list
sudo apt update
sudo apt install libseccomp2 -t buster-backports
#2安装依赖(下面命令整体复制)
apt-get install jq wget curl udisks2 libglib2.0-bin network-manager dbus -y
#3安装docker
curl -fsSL get.docker.com | sh
#4安装docker中文面板
docker run --restart always \
--name fastosdocker -p 9000:8081 -p 9000:8081 \
-d -v /var/run/docker.sock:/var/run/docker.sock -e TZ="Asia/Shanghai" \
-v /etc/docker/:/etc/docker/ wangbinxingkong/fast
隔壁大神的:
也可以不安装supervisor,直接安装homeassistant容器
安装homeassistant
docker run -d --name homeassistant --restart=unless-stopped -v /etc/localtime:/etc/localtime:ro -v /storage/hass:/config --network=host homeassistant/home-assistant:stable
完事直接IP:8123,必须自己输。面板快捷连接打不开。不知道为什么。