Docker container visible on 2 publics ip same time

If it’s about incomming ingress communication (and it’s responses): a published port will always bind the port on 0.0.0.0, thus both interfaces are already used.

It it’s about outgoing egress communication: Docker will always use the defined default gateway of the host .This problem needs to be solved on the host level, not on the container level.