How to Install SQL Server on Mac | Run MS SQL on macOS with Docker



๐Ÿ› ๏ธ Want to run Microsoft SQL Server on your MacBook with M1, M2, or M3 chip? In this updated 2025 tutorial, Iโ€™ll walk you through how to install and run SQL Server on macOS using Docker, since Microsoft doesnโ€™t officially support SQL Server natively on Mac.

This is the best workaround to use SQL Server on a Mac, whether youโ€™re a developer, student, or data analyst needing to test and query SQL databases.

๐Ÿ’ก In this video, youโ€™ll learn:

โœ… How to install Docker Desktop on Apple Silicon Mac
โœ… How to pull the official Microsoft SQL Server container image
โœ… How to run the container with custom username, password, and port
โœ… How to connect to SQL Server using Azure Data Studio or VS Code
โœ… BONUS: How to persist data using Docker volumes
โœ… Fully compatible with macOS Sonoma, Ventura, and Monterey

๐Ÿ“Œ Step-by-step Commands:

Install Docker:
๐Ÿ‘‰ Visit https://www.docker.com/products/docker-desktop/

Pull SQL Server Image:

bash
Copy
Edit
docker pull mcr.microsoft.com/mssql/server:2019-latest
Run SQL Server Container:

bash
Copy
Edit
docker run -e “ACCEPT_EULA=Y” -e “SA_PASSWORD=YourStrong@Passw0rd”
-p 1433:1433 –name sqlserver
-d mcr.microsoft.com/mssql/server:2019-latest
Connect using Azure Data Studio:
๐Ÿ‘‰ https://learn.microsoft.com/en-us/sql/azure-data-studio/

๐Ÿง  Ideal For:

Web & backend developers

SQL learners and bootcamp students

Devs using .NET or ASP.NET Core

Data engineers and analysts

๐Ÿ‘ Like this video? Tap Like โค๏ธ, comment your setup questions ๐Ÿ’ฌ, and Subscribe ๐Ÿ”” for more Mac development tools, database setup tutorials, and Docker tricks!

3. Hashtags:
#SQLServerMac #InstallSQLServerM1 #SQLServerDockerMac #MacM1DatabaseTools #DockerSQLMac #MacbookSQLServer #macOSSonoma #AzureDataStudioMac #RunSQLMac #AppleSiliconSQLServer #SQLServer2025 #MacDevTools #SQLOnMac #SQLServerForDevelopers
Note: ProgrammingKnowledge2 is the original author of this video, we just embed it, if you have any questions please contact him via Youtube.

Previous Article PS4/PS5 Jailbreak News: Y2JB Patched, PSVue, 13.04, ffpkg, Kstuff-Lite, Fake Sign-in & More!