docker运行openwrt
命令
docker pull openwrtorg/rootfs:x86_64-snapshot
docker run -itd -p 85:80 openwrtorg/rootfs:x86_64-snapshot
docker ps
docker exec -it xxxx sh
sed -i 's_downloads.openwrt.org_mirrors.ustc.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
opkg install luci-i18n-base-zh-cn
passwd #修改密码
登录