liuweiqing (@14790897) 在 我编译了新版的openwrt,以docker的方式方便运行 中发帖
仓库地址:GitHub - 14790897/OpenWrt-In-Docker: OpenWrt In Docker
x86_64版本经过我测试是可以用的,其它版本不知道
[image]
[image]
配置方法
使用 docker-compose
services:
openwrt:
image: 14790897/openwrt:x86_64
container_name: openwrt
restart: always
privileged: true
networks:
macvlan_net:
ipv4_address: 192.168.0.188 # 为容器指定静态 IP 地址
command: /sbin/init
networks:
macvlan_net:
drive...