Hello,
Are there any SQL server 2019 (not express) images available for Windows Containers?
Thanks
Share and learn in the Docker community.
Hello,
Are there any SQL server 2019 (not express) images available for Windows Containers?
Thanks
There aren’t, but you can build your own with the following steps:
More information in this tip: Install SQL Server and Oracle on Windows Containers
Hello,
Got a little further and have MSSQL 2019 installed within a container. Only thing is now i can ping the container but i can not reach it with SQL manager from outside the container. It seems like the MSSQL Server is not available.
Correct, in order for it to be reachable outside, you need to expose port 1433 when you create the container, see my other mssqltips on how to do that.
Got it working. Your article gave me the answer. For the SqlSysAdminAccounts=“ContainerAdministrator” i had the builtin\Administrators. After changing this to ContainerAdministrator i got functioning container with mssql2019. So thanks for that!
I made an attempt at building a SQL Server Image: windowscontainers/sqlserver2022base at master · david-garcia-garcia/windowscontainers (github.com)
The image has env configuration to set an admin user and to relocate system and user databases, so it can be used to host databases even in non state persistent environments (i.e. K8S) with ease.