Docker on host have multi ethernet

We were running a docker container on an host that had an eth1 and an eth2 interface. I configured source base policy-base routing so everything was working fine with the software that was installed on the host level communicating over either IP. However, I can’t communicate with a Docker container over the eth2 (non default interface).

I’m using debian 10 on host.