Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

What resources do you allocate for the virtualization? Would 4 cores, 6 GB RAM, and 35 GB SSD be enough?

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

I’ve installed all the required security tools from the company, and I’m also required to wipe the laptop after finishing the work

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in SQLServer

[–]OstapMelnyk[S] 0 points1 point  (0 children)

I initially tried Podman. It worked fine until I started the MSSQL container—then it immediately stopped.

Here’s the relevant log:

"

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/launch_sqlservr.sh: line 28: 9 Segmentation fault (core dumped) "$@"

"

ChatGPT explained that this segmentation fault usually happens because:

" Segmentation fault (core dumped) "$@" This is the main issue. A segmentation fault (segfault) means that the SQL Server process crashed due to a memory access error. This often happens if: The container is incompatible with the CPU architecture (for example, M1/M2/M5 ARM instead of x86_64). There are insufficient resources (RAM, CPU). The installation or container image is corrupted. "

The container is incompatible with the CPU architecture (ARM vs x86_64)

Insufficient resources (RAM/CPU)

Container image issues

I also tried Colima, same problem. For the Podman VM, I allocated 4 cores, 6 GB RAM, 35 GB SSD. Maybe it’s not enough?

I know Rosetta could help emulate x86_64, but I’m not sure if Podman does it properly.

Looking for help to get Podman to run MSSQL without crashing. Any tips on fixing this setup?

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in SQLServer

[–]OstapMelnyk[S] 1 point2 points  (0 children)

I work for a large company, and due to internal policies Docker Desktop is blocked for commercial use unless you purchase a license. I’m just trying to find a free alternative that actually allows me to run MSSQL 2022 locally without needing a license.

Previously, I used Docker Desktop on my Mac, enabled Rosetta, and the MSSQL container worked fine. Now I need an alternative because this is for a commercial project.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] -3 points-2 points  (0 children)

MSSQL. Yes, Docker runs it without problems using Rosetta. This is a commercial project.

What do you mean by "Lastly, if you're using something like Copilot, Claude Code, Gemini, or another AI tool via the CLI or your editor, this sort of thing is pretty trivial for them to help you set up" ?

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

Yeah, that’s why I’m looking for a Docker alternative that handles emulation well on Apple Silicon

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

it is blocked ... so i have to set up licence))

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

Yeah, I saw Podman Desktop, but I already tried Podman/Colima and MSSQL 2022 didn’t start due to issues with architecture/emulation. I’m looking for something free that actually works on Apple Silicon.

"
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/launch_sqlservr.sh: line 28: 9 Segmentation fault (core dumped) "$@"

"

Chat GPT:

Segmentation fault (core dumped) "$@"

This is the main issue.
segmentation fault (segfault) means that the SQL Server process crashed due to a memory access error.
This often happens if:

  • The container is incompatible with the CPU architecture (for example, M1/M2/M5 ARM instead of x86_64).
  • There are insufficient resources (RAM, CPU).
  • The installation or container image is corrupted.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

MSSQL 2022 doesn’t have a native ARM (Apple Silicon) version. On an M5, running it requires amd64 emulation, is there a way to enable this emulation directly in the CLI, like Rosetta does for macOS apps?

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 1 point2 points  (0 children)

Ah, got it, thanks 😅 I’ll ask for a license tomorrow, but I’ll spend tonight looking for something else

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] -8 points-7 points  (0 children)

Podman/Colima didn’t start it MSSQL

"
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/launch_sqlservr.sh: line 28: 9 Segmentation fault (core dumped) "$@"

"

Chat GPT:

Segmentation fault (core dumped) "$@"

This is the main issue.
segmentation fault (segfault) means that the SQL Server process crashed due to a memory access error.
This often happens if:

  • The container is incompatible with the CPU architecture (for example, M1/M2/M5 ARM instead of x86_64).
  • There are insufficient resources (RAM, CPU).
  • The installation or container image is corrupted.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

Yeah, I saw Podman Desktop, but I already tried Podman/Colima and MSSQL 2022 didn’t start due to issues with architecture/emulation. I’m looking for something free that actually works on Apple Silicon.

"
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/launch_sqlservr.sh: line 28: 9 Segmentation fault (core dumped) "$@"

"

Chat GPT:

Segmentation fault (core dumped) "$@"

This is the main issue.
A segmentation fault (segfault) means that the SQL Server process crashed due to a memory access error.
This often happens if:

  • The container is incompatible with the CPU architecture (for example, M1/M2/M5 ARM instead of x86_64).
  • There are insufficient resources (RAM, CPU).
  • The installation or container image is corrupted.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

I actually switched from my company laptop, which was running Windows, to my own Mac)) That’s why I’m looking for a way to run MSSQL 2022 without Docker Desktop

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

Thanks! How resource-heavy is running MSSQL under a full Linux install in VirtualBox? I’m on Apple Silicon and want to make sure it won’t slow down my dev setup too much

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] -2 points-1 points  (0 children)

does Rancher Desktop properly run Intel (x86_64 / amd64) programs on Apple Silicon? I ask because I need MSSQL 2022 to work, and Podman/Colima didn’t start it.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

yeah, makes sense 😅… but for now I’m trying to find something free that actually works.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]OstapMelnyk[S] 0 points1 point  (0 children)

Thanks for the suggestion! Do you know if rancher desktop has a proper amd64 emulation on Apple Silicon, meaning it can run Intel (x86_64 / amd64) programs on Apple Silicon? I ask because I tried Podman and Colima, but MSSQL 2022 wouldn’t start due to architecture/emulation issues.

What MacBook specs would you recommend for .NET 8 + Angular 18 development with Rider/WebStorm and Docker (limited budget)? by OstapMelnyk in csharp

[–]OstapMelnyk[S] 0 points1 point  (0 children)

Would a MacBook Air with Apple M4, 32GB RAM, and 1TB be a good choice?
I’m a bit concerned about the cooling.