章鱼星球折腾记 –「彼寄」 - lod.pub
lod.pub › play-octopus-planetJan 16, 2021 · # openwrt ip link set eth0 promisc on docker network create -d macvlan --subnet = 10.10.10.0/24 --gateway = 10.10.10.1 -o parent = eth0 -o macvlan_mode = bridge macnet docker import openwrt-bcm27xx-bcm2710-rpi-3-rootfs.tar.gz docker run --name openwrt --restart always -d --network macnet --privileged openwrt /sbin/init docker exec-it openwrt sh # 配置自身ipv4 docker restart openwrt # web ...
N1 Docker 安装 OpenWrt - 一記
leeyr.com › 326Apr 01, 2021 · # 忽略 docker rm -f OpenWrt # 运行 docker run -d \ --name=OpenWrt \ --restart always \ --privileged \ --network macvlan_lan \ --ip 192.168.2.200 \ unifreq/openwrt-aarch64:latest #kanshudj/n1-openwrtgateway:r20 # 参数: -d # 后台运行 --name # 容器名字 --restart always # 自启 --privileged # 容器提权 --network # 指定哪个 ...