connection string for sqlserver in Docker container
问题 I'm using Visual Studio 2017 for mac with dotnet Core and EF Core. After setting up the mssql image in Docker container , I was trying to add the connection string but throwing connection error. I tried with different options such as ip address , container name , host name etc. as server name but none of them worked. "Default": "Server=172.17.0.2; Database=ERPDb; User=sa; Password =******;" with container name "Default": "Server=ecstatic_hermann; Database=ERPDb; User=sa; Password=******;"