Access SQL Server from multiple Docker container

Christian Havel 96 Reputation points
2020-06-22T15:10:13.563+00:00

Hi,
on my Windows 10 Enterprise PC I have installed Docker Desktop for Windows and a SQL Server. In the computer management "SQL Server configuration manager", protocol "TCP/IP" I have the port 49172 configured for TCP/IP.
10448-sqlserverport.png

I want to start two containers, both of them try to open a connection to the SQL Server on the host. The first opens the connection (Port 49172), the second container can not open the port, because I is already in use from the first container. Can I configure in SQL server that it is accessible from different ports? How do I solve this problem?
Thanks,
Christian

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yuji Masaoka 56 Reputation points
    2020-06-22T16:24:53.77+00:00

    SQL Server is not currently supported here on QnA. They're actively answering question in dedicated forums here.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=sqldatabaseengine&filter=alltypes&sort=lastpostdesc

    0 comments No comments