MS SQL Server with Docker on Apple Silicon (M1 & M2)



The video demonstrates as how to work with MSSQL Server Docker Image on Apple Silicon Machines with MSSQL Edge Image. Following are the steps used:

1. Install Docker Desktop Software from:
https://www.docker.com/

2. Pull the following image:
docker pull mcr.microsoft.com/azure-sql-edge

3. Run container with command:
docker run -e ‘ACCEPT_EULA=1’ -e ‘MSSQL_SA_PASSWORD=strong password’ -p 1433:1433 –name sqlserver -d mcr.microsoft.com/azure-sql-edge

Note:
* Remember to give the password a strong one otherwise the container won’t start.

4. Connect it through Azure Data Studio.
Video Link on Azure Data Studio:
https://www.youtube.com/watch?v=giS02jKY1rg