Member-only story

How to run Microsoft SQL on Mac M1 with Docker

Emad Dehnavi
4 min readMay 13, 2024

Awhile ago I worked on a ASP.NET Core application and needed to run and setup a local Microsoft SQL on my Mac, here are the steps you need to do to set things up.

How to run Microsoft SQL on Mac M1/M2/M3 Using Docker

1 — Install Docker

if you already have docker installed, you can skip this one, if not go ahead and install it, based on your machine you have these options:

Once installed, open the Docker desktop, it will ask you an admin prompt to grant permission for the installation of the com.docker.vmnetd privileged helper service, give the permission and once you see this screen, then you’re good to go.

You can also confirm your Docker installation by running this command which gives you the current installed version:

docker -v
Docker version 26.0.0, build 2ae903e

2 — Pull the SQL Server image

Now you need to pull the SQL Server 2022 (16.x) Linux container image from the Microsoft Container Registry., you can do it by running…

--

--

Emad Dehnavi
Emad Dehnavi

Written by Emad Dehnavi

With 8 years as a software engineer, I write about AI and technology in a simple way. My goal is to make these topics easy and interesting for everyone.

No responses yet