Docker Desktop created container do not have access to macos

Hi,

I have post the details about my requirement on there:

and get response that saying I cannot access the container from macos because of the virtual machine between them.

I have a idea, whether there can make macos bridge to the virtual machine, then they are in one network, they can communicate to each other.