Using SQL Server Management Studio to remote connect to docker container

前端 未结 6 2012
北荒
北荒 2021-02-05 00:22

Context: I am trying to build a development SQL Server that I can continue to learn SQL on and use Microsoft SQL Server Management Studio (SSMS) to

6条回答
  •  余生分开走
    2021-02-05 01:08

    I also faced same issue when I try to connect through SSMS, even I tried with localhost,1433 it doesn't help me out. enter image description here

    After some R&D I found the way to solve it

    • Open Kubernetes which will be installed as part of docker toolbox (mine was win 10 home which will not support hyper-v)
    • click on sql container which will be in left side of app
    • copy the IP address which will be in right side of app
    • use IP address with port like XXX.XXX.XX.XX,1433 along with credentials in SSMS

    enter image description here

提交回复
热议问题