I have a Docker host with two network adapters. Eth0 with 172.16.100.31/26 and eth1 with 172.16.20.21/26. When I run a Docker container on it (without any special parameters for the network), I can reach it respectively via the host IP from the eth0 network adapter (172.16.100.31) from another PC on the same network. However, I want to create an additional container that is reachable via the other host IP from network adapter eth1 (172.16.20.21). How do I do that? By default the containers are reachable via the external IP of the network adapter eth0 (172.16.100.31).
Thanks in advance