I have exactly the same problem (also trying to do ros2-on-docker-windows to ros2-on-linux communication), thanks for describing it so accurately. Any solution yet?
BTW did you find any easy way to install ros2 on windows? I see only very elaborate instructions.