Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

How to connect to locally available servers from within docker

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:

1 REPLY 1

Explorer

Hello

First you need to make your docker host communicate each other's.

Using for example swarm.

Hope this help

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.