We can use the following command to check whether the container is up and running: docker ps You can run the Premium Edition by adding -e 'MSSQL_PID=Premium'. You can also change the value of the -name parameter if you wish.īy default, the container is run with the Developer Edition. Once the download is completed, run the following command to launch an instance of the Docker image you just downloaded: sudo docker run -cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=bigStrongPwd' -p 1433:1433 -name sqledge -d /azure-sql-edgeīe sure to change bigStrongPwd to a strong password of your choice. You can alternatively check the container options on the Docker website if you prefer. That pulls/downloads the container image to your local machine. Open a Terminal window and run the following command: docker pull /azure-sql-edge As mentioned, this uses the SQL Server Database Engine, and we can therefore use it to run T-SQL queries, etc, as if we were querying SQL Server.
Now that Docker is installed, we can go ahead and install Azure SQL Edge. Go ahead and provide your password, as Docker needs this to run. When you open Docker, you might be prompted for your password. Launch Docker the same way you’d launch any other application (eg, via the Applications folder, the Launchpad, etc).
dmg file and drag the Docker.app icon to your Applications folder as instructed. Be sure to download the one for the M1 Mac (the button was called Mac with Apple Chip when I downloaded it).
I previously explained how to install SQL Server on a Mac using the SQL Server for Linux Docker image.