I am trying to run mssql-server image on my macOS, but pod is getting terminated instantly with these errors.
FYR:
ravi.k@IT004123 ~ % docker run -d --platform linux/amd64 \
--ulimit stack=67108864:67108864 \
-e 'ACCEPT_EULA=Y' \
-e 'SA_PASSWORD=Password' \
-p 1433:1433 \
--name mssql-test \
mcr.microsoft.com/mssql/server:2022-latest
fdc451be25122082ace6290b3a75e41de31f95b1ad8736126492900a346cb702
ravi.k@IT004123 ~ % docker logs mssql-test
SQL Server 2022 will run as non-root by default.
This container is running as user mssql.
To learn more visit
https://go.microsoft.com/fwlink/?linkid=2099216.
/opt/mssql/bin/sqlservr: Invalid mapping of address 0x2aaaad74d000 in reserved address space below 0x400000000000. 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.
Please suggest if there is a feasible solution to this.