Docker Community Forums

Share and learn in the Docker community.

Connecting remotely to MS SQL image deployed on Windows for Docker


(Sauraba) #1

Hi Team,

I am able to connect to MS SQL image deployed on Windows for Docker locally using 127.0.0.1 using the MSSM tool.
However, when I provide the details remotely (over internet) of IP/Port , no luck.
I tried with three IPs
Docker-machine IP (192.168.1.70) : got it from docker-machine url command which gave following response:
tcp://192.168.1.70:2376

I also tried with image IP i.e 172.17.0.2 which I got from the image inspect command. This IP is not ping-able as well.

The port is standard 1433 and I created the image using the command docker run -d -p 1433:1433 -e sa_password=@@@@@@

Thanks.