ip link set eth0 promisc on
docker network create -d macvlan --subnet=192.168.31.0/24 --gateway=192.168.31.1 -o parent=eth0 openwrt
docker pull soroke/istoreos:22.03.7-2025050912-x86-64
docker run --restart always --name istoreos -d --network openwrt --privileged soroke/istoreos:22.03.7-2025050912-x86-64
docker exec -it istoreos bash
vim /etc/config/network
#没有的项手动添加
config interface 'lan'
option device 'br-lan'
option proto 'static' #改为静态ip模式
option gateway '192.168.31.1' #改为你的网关
option ipaddr '192.168.31.254' #改为你istoreos想要设定的IP
option netmask '255.255.255.0' #子网掩码
/etc/init.d/network restart
exit
#默认用户名:root
#默认密码:password
Content type
Image
Digest
sha256:b8e2ac4f8…
Size
225.3 MB
Last updated
over 1 year ago
docker pull soroke/istoreos:22.03.7-2025050912-x86-64