Hi,
I’m have a container attached to an overlay network with 10.10.0.0/16 subnet.
here is the eth0 interface in the container namespace
$ docker exec 78c0826838c3 ip a show eth0
227: eth0@if228: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default
link/ether 02:42:0a:0a:00:1e brd ff:ff:ff:ff:ff:ff
inet 10.10.0.30/16 scope global eth0
valid_lft forever preferred_lft forever
inet 10.10.0.14/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::42:aff:fe0a:1e/64 scope link
valid_lft forever preferred_lft forever
how come there are 2 inet for eth0 interface ? I couldn’t find anything in the documentation that explains that.
Thanks.