How to connect to docker host from container on Windows 10 (Docker for Windows)
问题 At which IP address can a docker container connect to its host on Docker for Windows (on Windows 10)? How do you find this IP address? Example: you have a service running at port 1234 on your Windows 10 machine. A program inside your container must access this service. What IP address should the program use to connect to the host? 回答1: Short answer : in most cases, you'll need 10.0.75.1 . In Docker for Windows, the container communicates through a vEthernet adapter called DockerNAT. To find