-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M1 Mac Incompatibility with MSSQL '19 #791
Comments
I was able to get the Replace imageFirst, the mcr.microsoft.com/mssql/server:2019-latest does not support Arm64 (as noted in the original issue description). So, I replaced that image with mcr.microsoft.com/azure-sql-edge:latest in setup.sh. Use go-sqlcmdThe next problem I hit was that I installed go and downloaded the Arm64 build of this binary from https://github.com/microsoft/go-sqlcmd/releases/tag/v0.5.0 I placed the go-sqlcmd binary in the root of the project, then replaced all the docker exec commands with the following lines:
In the above commands I removed the Fix connection syntax differencesThe next hurdle I hit was an issue with syntax for the go-sqlcmd connection string versus what dotnet-episerver commands expect. The go-sqlcmd expects your server and port to look like Full, messy scriptHere is the full script for reference, but note: it's messy since it took a few iterations and has a lot of commented out stuff because I got to various parts of the steps and didn't want to rerun earlier steps that were successful. It'd take some work to make this more reliable to be run from scratch.
|
@headquarters this is super helpful, thank you for documenting! I am excited to give this a try |
My experience so far...
Now I am still using my old mac when needed. Still waiting for mssql image with M1 support 🙏 |
Since a while back, Docker can emulate SQL Server, at least the 2022 version. I'm running it in Docker on a M1 Pro, and it works fine :) |
Describe the bug
This is a known issue with M1 Macs: microsoft/mssql-docker#668 - unrelated to any Foundation misconfiguration
To Reproduce
Expected behavior
Successful configuration of Foundation
Screenshots
Docker logs:
Script logs:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: