I run docker on windows. I have a docker holder running a python application that needs a database association. Introducing a DB on my machine and associating with it by means of "docker.for.win.localhost" in my compartment works fine. Presently I need to associate with a database running on a server that is accessible over my neighborhood organize. I can't associate with it from inside my docker training compartment. I don't exactly see how I can intermediary the server to my compartment. The mistake shows that it can't set up an association with this server:
First you need to make your docker host communicate each other's.
Using for example swarm.
Hope this help