docker运行openwrt

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 #修改密码

登录
docker运行openwrt

上一篇:路由器第三方固件的刷入与调试


下一篇:软路由安装官方openwrt x86并调整分区大小