SSH部署方法:
1、(超级用户权限)
sudo -i
2、(查看网口名称)
ifconfig
3、(创建macvlan虚拟网卡)
docker network create -d macvlan --subnet=10.0.0.0/24 --gateway=10.0.0.1 -o parent=ens33 istoreosnet
4、查看虚拟网卡是否创建成功 5、(创建容器并连接到macvlan网络)
docker run --restart always --name istoreos -d --network istoreosnet --privileged systemsome/istoreos:22.03.7-2025050912-x86-64 /sbin/init
6、(进入容器内部)
docker exec -it istoreos bash
7、(修改lan口ip)
vi /etc/config/network
8、重启 用户名:root 密码:password
Content type
Image
Digest
sha256:b8e2ac4f8…
Size
225.3 MB
Last updated
8 months ago
docker pull systemsome/istoreos:22.03.7-2025050912-x86-64