本帖最后由 米老鼠 于 2022-8-17 11:30 编辑
如果用macvlan在群晖安装魔方后查找IP地址有点儿难。反正我在系统里面没找到。
sudo docker exec -it wxedge2.4.0 ip addr
admin@Sakar-NAS:/$ sudo docker exec -it wxedge2.4.0 ip addr
Password:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
14: eth0@if6: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 02:42:ac:10:04:01 brd ff:ff:ff:ff:ff:ff
inet 172.16.4.1/23 brd 172.16.5.255 scope global eth0
valid_lft forever preferred_lft forever
显示上面的内容。其中 inet 172.16.4.1 就是魔方的IP。
172.16.4.1:18888
|
|