首先要通过命令行开启container功能,且只能过过命令行开启system/device-mode/update container=yes会提示5分钟内强制断电重新启动生效system/root重起无效,反正我是直接拔电的。如果是虚拟机,这种在linux里软重启如果证明有没有安装成功,见下图/system/device-mode/print只要显示container:yes 代表就安装成功了2、创建一个veth设置 我为了方便直接桥接到内网254就是内网网关3、创建网桥并把veth1加入网桥下载境像临时目录和仓库地址container/config/set registry-url=https://registry-1.docker.io tmpdir=dockerimg 内存不用设置也可以,默认0就是共享主机内存。mounts定义挂载目录container/mounts/ add name=openwrt src=/openwrt dst=/etc/openwrt5、拉取镜像/container/add remote-image=piaoyizy/openwrt-x86:late
timsom
一个喜欢折腾的男人