6

I have the following SQL Server 2017 container up and running as per -

https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker

CONTAINER ID        IMAGE                                      COMMAND                    CREATED             STATUS              PORTS                    NAMES
910d34ad3c3e        microsoft/mssql-server-linux:2017-latest   "/bin/sh -c /opt/m..."   11 minutes ago      Up 11 minutes       0.0.0.0:1401->1433/tcp   sql1

I can connect inside docker container with SQLCMD.

But I am not sure what to enter in SQL Operations Studio to get it to connect -

enter image description here

WickedW
  • 2,331
  • 4
  • 24
  • 54

1 Answers1

9

Soon as posted this, realised the port on the MAC side was on 1401 and not 1433 like in a lot of other examples I was reading.

Server Name should have been : 192.168.2.28,1401

Hope this helps someone else.

WickedW
  • 2,331
  • 4
  • 24
  • 54