Docker for Windows and SQL Server on Linux

Chris McGinty
Jul 10, 2017 · 1 min read

While trying to use the image for SQL Server on Linux in Docker (microsoft/mssql-server-linux) from Visual Studio 2017, I kept receiving an error connecting to the SQL Server container. Basically, the container was never starting because there was not enough memory in the default Moby VM created in Hyper V for running Docker containers. I increased the memory of the VM using the Docker for Windows properties tool and was able to start the SQL Server image.