Docker Community Forums

Share and learn in the Docker community.

Unable to connect outside database from Docker container App

docker

(Shriyashlakhe) #1

Hi,
we have two machine…one is windows machine and another in Linux machine. My application is running under Docker Container at Linux machine. our data base is running at Windows machine.our application need to get data from windows machine DB.

As we have given proper data source detail like IP, username ,password in our application. it works when we do not use docker container but when we use docker container it do not work.

Can anyone help me out to get this solution that how we can connect outside DB from Docker enabled application as we are totally new guys in term of Docker.

Any help would be much appreciated.

Regards,
Shriyash