Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to connect to locally available servers from within docker

Highlighted

How to connect to locally available servers from within docker

New Contributor

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

Re: How to connect to locally available servers from within docker

New Contributor

Hello

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

Using for example swarm.

Hope this help