4
I’m starting now with Docker and I’m lost in a small detail, I mounted an Ubuntu image with Apache, PHP 7 and the extension connection with SQL Server.
How do I access the SQL Server server if it is on my local network and Docker the network is only on my machine?
Example:
Container IP = 172.18.0.2
IP of my SQL Server = 192.168.0.58
Remembering that I use Docker in windows 10.
If to access I already have how to put this information in my Dockerfile or in Docker-Compose?
I voted to reopen this question as I consider Docker to be a "common developer tool", which makes it within the scope defined in the help center.
– gmsantos