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:
- the process (itself, or via a wrapper) starts-up its own running environment sets the stack size limit to unlimited via syscall setrlimit(2);
- the process (itself, or via a wrapper) adjusts its own execution domain and flag the system its legacy personality via syscall personality(2);
- 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.