1. 在容器里查看
/ $ ip link show eth0 531: eth0@if532: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP link/ether 02:42:ac:12:00:06 brd ff:ff:ff:ff:ff:ff / $
2.在主机查看
[root@slave1 ~]# ip link show | grep 532 532: veth598c5f9@if531: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-1b68951ea52c state UP mode DEFAULT group default [root@slave1 ~]# ip link show | grep 531 532: veth598c5f9@if531: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-1b68951ea52c state UP mode DEFAULT group default
参考:https://blog.csdn.net/u011563903/article/details/88593251
3. docker 网络架构
参考: https://blog.csdn.net/somyjun/article/details/88735364