Docker Community Forums

Share and learn in the Docker community.

Can not connect with sqlserver docker


(Ranacse) #1

Dear Concern,
i am using windows 8.1 and installed docker toolbox. after run [docker run -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=Saif9947’ -e ‘MSSQL_PID=Express’ -p 1433:1433 -d microsoft/mssql-server-linux:latest]
after install, it show ip=192.168.99.100

$ docker ps -a
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
618c6ea3fb88 microsoft/mssql-server-linux:latest "/bin/sh -c /opt/mss"
15 hours ago Created modest_colden

  1. but using management studio, need to provide server name. what will be server name?
  2. and as this sql sderver installed under ubuntu, if i want to login, what will be username and password?

Thanks in advance


(Sam) #2

i would see the doc for the image

https://hub.docker.com/r/microsoft/mssql-server-linux/

servername = 192.168.99.100
the container does not have a DNS name


(Ranacse) #3

hi,

thanks for your reply. but still can not login. show network error.

Thanks