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

S John 11 Reputation points
2022-10-24T02:29:13.127+00:00

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 mcr.microsoft.com/azure-sql-edge.

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 mcr.microsoft.com/azure-sql-edge:latest.

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 https://go.microsoft.com/fwlink/?linkid=2140520.

/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 mcr.microsoft.com/azure-sql-edge

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 mcr.microsoft.com/azure-sql-edge 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.

SJ

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.
45 questions
{count} votes

1 answer

Sort by: Most helpful
  1. S John 11 Reputation points
    2022-11-09T01:44:10.187+00:00

    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