How can I run a named SQL Server instance inside a Docker container?
I have an application that has a connection string pointing to a named SQL Server instance, something like Data Source=HostName\InstanceName
; this connection string is very problematic for me to change. I want to dockerize that SQL Server instance. I already configured it so that I can connect to the dockerized instance via sqlcmd
using sqlcmd -S HostName
but when using sqlcmd -S HostName\InstanceName
(which should be equivalent to the connection string this application is using) it does not establish a connection.