How to run Microsoft SQL on Apple silicon Macs using Docker Desktop

por | 20 marzo, 2024
docker pull mcr.microsoft.com/mssql/server:2022-latest


docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=VeryStr0ngP@ssw0rd" \
   -p 1433:1433 --name sql1 --hostname sql1 \
   --platform linux/amd64 \
   -v /Users/mymacuser/sqlserver:/var/opt/mssql \
   -d \
   mcr.microsoft.com/mssql/server:2022-latest