

What if I want to run SQL Server in Linux in a Docker Container on Windows?
#Install like sql server on mac how to
If you’d like to be more civilized and update existing Docker containers, Jeremiah Peschka wrote about how to do that. In the video, I show clearing all your docker containers and grabbing fresh info. What if I don’t want to delete all my data? Connect to SQL Server Start a bash shell inside the container sudo docker exec -it mssql 'bash' The command takes you to the container prompt as shown in the screenshot above. Setup took me around an hour (with lots of breaks), and the only halfway tricky part was figuring out what IP address to connect to, since I have a different networking setup than Aaron does. Follow instruction described in below article to install MS-SQL on your Mac. There for no need to install a virtual machine with Windows.

This change has made possible to run SQL Server from a Docker container. I got everything going on my Mac using Aaron Bertrand’s great article, VS Code on Mac meets SQL Server on Linux (in Docker). Microsoft has made SQL 2017 and later version available for MacOS and Linux system.
