Docker Community Forums

Share and learn in the Docker community.

How to connect to database using Windows Authentication within Docker on Linux


We are building some .NET 5 services in Docker to run on Linux VMs. These services will need to connect to SQL Server running on Windows servers using Windows Authentication.

Is that something that can be achieved and if so could someone some point me to the right direction?
At the moment I can connect to the databases but all I get is “Cannot authenticate using Kerboros” as expected. I read about using gMSA on windows server but not sure how it should work for Linux.