I'm using Docker on a Mac, and I have a DB container (PostgreSQL), which I access from the Mac as localhost, or 127.0.0.1. Through the magic of Docker, it works.
I have a Windows 11 Parallels VM that I need to point at the Docker DB. Obviously, localhost is claimed by the local host (Windows), and I'm clueless as to what IP address that virtual machine might see my real machine as, or even if it might need the internal Docker IPs or something.
Has anyone already resolved this issue?
I tried localhost, of course, which is how I realized that the Windows VM's localhost was going to block the actual machine's localhost.