Access SQL Server from multiple Docker container

Christian Havel 96 Reputation points

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.

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?

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yuji Masaoka 56 Reputation points

    SQL Server is not currently supported here on QnA. They're actively answering question in dedicated forums here.

    0 comments No comments