I have been trying to download SQL Server on my Mac with an Apple Chip. I’ve been following the steps that include downloading docker and entering code into my terminal to set up the images and containers within docker. However, when I try and type in this code:
docker run --name SQLServer -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=12345OHdf%e' -e 'MSSQL_PID=Express’ -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest
I get the following response in terminal:
WARNING: The requested image’s platform (linux/amd64) does not match
the detected host platform (linux/arm64/v8) and no specific platform
was requested
a1c6173553fc3ae53d28cc4c8bef452fdd322bf1ab2074124803c2275a97e587
I was wondering if anybody would be able to help me in fixing this problem
4
Answers
From the docker docs:
Using the azure sql edge docker image and installing mssql tool separately worked for us.
This is the Dockerfile
I have followed the tutorial on the website but I can’t connect azure data studio to the SQL Server instance … while he is running
@Aaron Bertrand
I finally use Azure Sql Database instead of SSMS
A bit late to the party but here’s a workaround for this using an open source tool called Lima and Rosetta as the VM: https://dev.to/srburnham/forget-azure-sql-edge-on-a-m1-mac-run-full-blown-sql-server-linux-instead-a-how-to-6d2. Saves you from having to resort to the cutdown edge version.