@nocentino love your article about #SQLServer on Apple Silicon! It gave me hope about the #cosmosdb emulator but alas, running into the dreaded ERROR: Invalid mapping of address

Seems that arm64 support is not a priority for the team based on a GH issue I found about it. Any suggestions? My next step is just pointing VS/VS Code to a remote Docker machine running Linux :/

https://www.nocentino.com/posts/2023-01-02-running-sql-server-apple-silicon/

Running SQL Server on Apple Silicon

Last week I purchased a shiny new MacBook Air with an M2 processor. After I got all the standard stuff up and running, I set out to learn how to run SQL Server containers on this new hardware. This post shows you how to run SQL Server on Apple Silicon using colima. Colima is a container runtime that runs a Linux VM on your Mac. This Linux VM runs using the Virtualization framework hypervisor native in MacOS.

@cl can you send over a how to for getting it up and running?

@nocentino I followed your tutorial then attempted to run:

docker run mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest

Basically, if you can get it to start and stay started, you'd get further than me!

@cl ok. Lemme grab some coffee and see what’s up. BBL.
@nocentino awww yeah, thank you! 🤩
@cl if you’re getting the memory error your likely not pointed at the Colima docker endpoint. Update your context with docker context use. But once pointed at Colima it fails silently.
@cl …im still trying things.
@nocentino ahh i can see how that happened, i was having some weird timeout errors and started from scratch like 8 times. I'm now trying to use a remote context as i have a docker "server" on my network and im trying to convince someone to switch to container debugging and need it to work beautifully 😅 i think if you cant get it, a remote context would be a great compromise if it works
@cl I can get the container to start a bash shell but the entrypoint start.sh fails silently. Fun fact…it’s a windows process wrapped in sqlpal :)
@nocentino ha, cool! sounds promising since you got sql server to work! 🥳