debian – Docker on host have multi ethernet

We were running a docker container on a host that had an eth1 and an eth2 interface. I configured source based policy-based 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.