其他分享
首页 > 其他分享> > docker运行openwrt

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

登录
在这里插入图片描述

标签:cn,uhttpd,etc,openwrt,opkg,docker,运行
来源: https://blog.csdn.net/qq_43645782/article/details/121177978