microsoft / mssql-docker

Official Microsoft repository for SQL Server in Docker resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Apple MAC M2 Air) Container stops within 1 second of running SQL Server with Exited(1) status

Abhishek-Singh-Rana opened this issue · comments

I am getting the following error while running the container in my docker:

2023-07-17 23:19:59 SQL Server 2019 will run as non-root by default.
2023-07-17 23:19:59 This container is running as user mssql.
2023-07-17 23:19:59 To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
2023-07-17 23:19:59 /opt/mssql/bin/sqlservr: Invalid mapping of address 0x40037f3000 in reserved address space below 0x400000000000. Possible causes:
2023-07-17 23:19:59 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);
2023-07-17 23:19:59 2) the process (itself, or via a wrapper) adjusts its own execution domain and flag the system its legacy personality via syscall personality(2);
2023-07-17 23:19:59 3) sysadmin deliberately sets the system to run on legacy VA layout mode by adjusting a sysctl knob vm.legacy_va_layout.
2023-07-17 23:19:59

image

Am i missing anything?

+1 - I'm running into the same error on my 2023 M2 Pro Mac Mini.

This works for me

#668 (comment)

have you tried the SQL 22 version and do you still see the issue?