https://rancher.com/ logo
Title
h

helpful-butcher-75556

01/19/2023, 1:43 PM
Microsoft says you can run SQL 2022 on Docker Desktop on the Mac. Should this work with Rancher Desktop? I tried it and get this error. (Running on M1, containerd, RD 1.7.0) I did run
softwareupdate --install-rosetta
docker logs sql2022
/opt/mssql/bin/permissions_check.sh: line 4: [: : integer expression expected
/opt/mssql/bin/permissions_check.sh: line 59: [: : integer expression expected
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 0x4003918000 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.
r

rapid-eye-50641

01/19/2023, 5:26 PM
Hi, this is a known issue with qemu that Rancher Desktop uses under the hood. The mssql/server amd64 image works when you are using Apple's virtualization framework and Rosetta2. There's work underway in the Rancher Desktop and lima projects to support Virtualization.Framework instead of qemu on macOS Ventura.. Please watch out for the upcoming Rancher Desktop releases here with Virtualization.Framework support and try this again..
h

helpful-butcher-75556

01/19/2023, 7:01 PM
Thanks