ip
openwrt
docker pull kanshudj/n1-openwrtgateway
ip 设置
ip link set eth0 promisc on
创建 Openwrt
docker network create -d macvlan --subnet=192.168.0.1/24 --gateway=192.168.0.1 -o parent=eth0 macnet
运行 Openwrt
docker run --restart always -d --network macnet --privileged kanshudj/n1-openwrtgateway /sbin/init
https://www.jianshu.com/p/e62190cfff1a?tdsourcetag=s_pcqq_aiomsg
docker pull homeassistant/aarch64-homeassistant:latest docker run -d -v ~/homeassisatant/config:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/aarch64-homeassistant