I need to connect two containers through a bridge but I need to set their interfaces name. How can I do that?
docker network create --subnet 192.168.100.0/24 --driver bridge br0_nw
docker network connect --ip 192.168.100.0 br0_nw cont1
docker network connect --ip 192.168.100.0 br0_nw cont2
Is there any option like interface-name
:
docker network connect --ip 192.168.100.0 --interface-name ethx br0_nw cont1
Thanks