Docker / Azure Data Studio - What am I doing wrong?

S John 11 Reputation points

Mac OS Monterey, 12.5.1
I installed Docker on 10/19 from your website. downloaded the Azure SQL Edge image using the terminal command docker pull

I then downloaded Azure Data Studio.

Then ran the terminal command sudo docker run --platform linux/arm64/v8 -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=MyP@&&w0rd" -p 1433:1433 --name SJ-SQL --hostname SJ-SQL -v /Users/scottj/Projects/Volumes:/var/opt/mssql -d

Now, my container does show SJ-SQL, but exits as soon as I click run.

Here is the log.

Azure SQL Edge will run as non-root by default.
This container is running as user mssql.
To learn more visit

/opt/mssql/bin/sqlservr: Invalid mapping of address 0x55054ec000 in reserved address space below 0x6000000000. Possible causes:

  1. the process (itself, or via a wrapper) starts-up its own running environment sets the stack size limit to unlimited via syscall setrlimit(2);
  2. the process (itself, or via a wrapper) adjusts its own execution domain and flag the system its legacy personality via syscall personality(2);
  3. sysadmin deliberately sets the system to run on legacy VA layout mode by adjusting a sysctl knob vm.legacy_va_layout.

I had previously tried the Terminal command below, but was told that the platform was not identified. So I got the other from a YouTube guy that posted less than a month ago, thinking it would work.

docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 --name azuresqledge -d

Docker customer service said, Based on the description shared through the case, it appears that this issue is specific to an issue related to the image. As such, we would recommend reaching out directly to Microsoft support for further assistance regarding the issue.

What am I doing wrong, how can I fix it? Thank you.


Azure SQL Database
Azure SQL Edge
Azure SQL Edge
An Azure service that provides a small-footprint, edge-optimized data engine with built-in artificial intelligence. Previously known as Azure SQL Database Edge.
44 questions
{count} votes

1 answer

Sort by: Most helpful
  1. S John 11 Reputation points

    Email just sent.

    I see the title "How to Install Azure Data Studio on a Mac", but not associated to a link. Will you please provide again? Thank you.

    0 comments No comments