I have MySQL running on docker host. I would like phpfpm running in the container to connect to MySQL server on the host machine. Which ip address should I?
These are the ip addresses in ipconfig output:
Ethernet adapter vEthernet (DockerNAT) : 10.0.75.1
Wireless LAN adapter Wi-Fi: : 192.168.2.20
docker exec -it <container-name> /bin/bash
ping 10.0.75.1 //Doesn’t work
ping 192.168.2.20 //Doesn’t work