docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=YourStrong@Password" \ -p 1433:1433 --name sqlserver \ -d mcr.microsoft.com/mssql/server:2022-latest
On Apple Silicon Macs, the Docker container runs via emulation (Rosetta). It works fine for development but is slower than running on Linux natively.
If you are running SQL Server locally on your Mac, you are likely using . If you haven't set this up yet, here is the quick-start command:
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=YourStrong@Password" \ -p 1433:1433 --name sqlserver \ -d mcr.microsoft.com/mssql/server:2022-latest
On Apple Silicon Macs, the Docker container runs via emulation (Rosetta). It works fine for development but is slower than running on Linux natively.
If you are running SQL Server locally on your Mac, you are likely using . If you haven't set this up yet, here is the quick-start command: