
1
/system/device-mode/update container=yes
2
/system/root
3
/system/device-mode/print

创建虚拟网卡

加入网桥

仓库地址
/container/config/set registry-url=https://registry-1.docker.io tmpdir=dockerimg
定义挂载目录
/container/mounts/ add name=openwrt src=/openwrt dst=/etc/openwrt

拉取镜像
/container/add remote-image=piaoyizy/openwrt-x86:latest interface=veth1 root-dir=/openwrtorg mounts=openwrt hostname=openwrt logging=yes

等待镜像拉取完成,点击start启动

查看序号
/container/print
进入容器终端
/container/shell 0
修改IP
vi /etc/config/network
重启网络
/etc/init.d/network restart
正文完