Skip to content
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

Allow setup on Apple Silicon (M1 and up) #33

Open
kdambekalns opened this issue Mar 11, 2025 · 4 comments · May be fixed by #34
Open

Allow setup on Apple Silicon (M1 and up) #33

kdambekalns opened this issue Mar 11, 2025 · 4 comments · May be fixed by #34

Comments

@kdambekalns
Copy link

Describe the bug

Trying to install this I get This package does not work on arm64 machines and I am confused.

Why? Because I have mcr.microsoft.com/mssql/server:2022-latest running totally fine on my M1 using OrbStack using Rosetta, so even if that may be slower or whatever – I don't care, for development that's fine.

Expected behavior

I'd be fine with a warning, but right now – as relative new DDEV user – I'd love to be able to at least install the addon. Because I don't know how to force an installation.

Desktop:

  • OS: macOS
  • Hardware: Apple M1 Max
  • Version 15.3.1
  • OrbStack 1.10.2

Additional context

The people I am trying to set this up for don't even work on Apple Silicon, so for them this would be a non-issue…

kdambekalns added a commit to kdambekalns/ddev-sqlsrv that referenced this issue Mar 11, 2025
@stasadev
Copy link
Member

Hi @kdambekalns,

Please open a new PR and confirm that it works for you.

I'm sure you know about https://ddev.com/blog/amd64-on-apple-silicon-ddev/


BTW, you don't need to make a new release in your fork, install it like this:

ddev add-on get https://github.com/kdambekalns/ddev-sqlsrv/tarball/task/support-apple-silicon

@kdambekalns
Copy link
Author

Thanks for the reply!

I did not know about that blog post, and so far for my (non-DDEV) setup had no issues running whatever could using ARM images and just the SQL server as AMD.

Anyway, for me that tweak in my PR works, I guess I can finish what I need to (set up DDEV for that project) and keep my fingers crossed. 😉

@rfay
Copy link
Member

rfay commented Mar 11, 2025

I have mcr.microsoft.com/mssql/server:2022-latest running totally fine

As stated elsewhere... it's great that you're having a good experience, but often people have weird and unpredictable problems running cross-architecture containers. It's important to let them know what is happening and what the risks are.

@kdambekalns
Copy link
Author

Agree, and it's unfortunate MS does not provide an ARM build of SQL Server…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants