Thanks for the reply. please find my answers below.
- You have a Windows 8.1 host operating system just to run a virtual machine (at least in this context)
- Yes. I have a Windows 8.1 host operating system
- Everything you do with Docker and MSSQL is inside your virtual machine.
- No. My Visual studio 2019 & Docker are inside VM-Windows 11 & my database is in-network on Windows SERVER 2012 (operating system of the database)
- You have Visual Studio Code in the virtual machine.
- Yes. I also have Visual studio code, but I am using Visual Studio 2019
- You use VSCode to develop your application with the help of it’s Docker support.
- Yes
- You have an MSSQL server in the virtual machine but not in a container. It is running directly on the Windows 11 VM.
- No. As I have mentioned that SQL SERVER is in network with different machine
- You run the mssql-tools container in which you try to access the MSSQL server on Windows 11 and it works without error message.
- Yes, even when I create only mssql-tools container then also my network database is accessed via mssql-tools container.
- You have an application developed by you or just downloaded and configured by you, which also runs inside a container but a different container. This application cannot connect to the database server running on Windows 11. It gives you the SSL error.
- Application is developed by me. I am using .NET Core API type project and trying to connect the
database via Microsoft.Data.Sqlclient library.
find below is my scenario