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
Support darwin/arm64 on Apple Silicon #2338
Comments
FYI @cyberswat |
@cyberswat did submit the application for the program, thanks! |
Still have not received a response on this. |
It appears that our application was withdrawn or rejected for some reason. We should reapply. |
The application was accepted, but when we got the email, it had like a 24-hour deadline and it was missed among all the other email. @cyberswat has resubmitted the application, hopefully we'll do better this time.
Quite a significant amount of build-reorganization will need to be done, as the assumption of amd64 is wired into all the builds. |
gotip (upcoming v1.16) now has darwin/arm64:
|
We will purchase Apple Silicon as soon as it's available; gotip already builds arm64 binary, but of course we have nowhere to run it. |
We now have a macbook Pro with Apple Silicon. Current situation explained in https://www.ddev.com/ddev-local/arm64-apple-silicon-m1-ddev-local-what-does-it-all-mean/ - but the biggest issue is ddev can't work until Docker Desktop does. Waiting for Docker (see blog). |
@rfay I have an Apple Silicon machine as well and can test as well! |
Will look forward to it! Right now, we're just waiting for Docker to release a tech preview. Docker Desktop doesn't currently start on Silicon. |
Has anyone tried ddev with docker running in a VM on apple M1? |
Unfortunately, Apple M1 also doesn't have VM support yet. Parallels is also working hard to come up with a tech preview. I don't think there are any options to do this at this point. |
But according to this article: With that running it should be possible to run ddev in that ubuntu VM? Maybe not the best solution, but for now that would be better than nothing. |
Yes, I think you'd be able to get ddev going this way in a Linux VM. |
Can you test that on your MacBook Pro with Apple M1, please? Would be great to know if that actually works! Thank you! |
I'd love to, but it's off-track for me at the moment. Sounds like fun though! I was hoping you'd try it and tell me :) |
I'd love to try it, but being able to run ddev and docker are the last things holding me back from buying a new MacBook with Apple M1, so I can't test it. |
Hello everyone, according to this new blogpost by Docker they now have support for apple M1 in their preview build. Can one of you with an Apple M1 Mac check this out and test ddev on it please? Thanks! |
Hi @ped - here's my initial results after a ddev recompile for arm64 and loads and loads of work earlier this year by @dennisameling to make the images work You can follow the progress to production ready in #2687 This should make it into an early v1.17 alpha. |
…#2687) * First working ddev on darwin_arm64 * Build shouldn't have an -it in it * Add mysql 8.0 back in as possible version * Release should build darwin_arm64 * Make install_ddev.sh recognize m1 arm64 * Docs for apple silicon * Don't show actual output of notarize step * Fix windows signing on macOS * Clean up macos notarization in Makefile * To avoid re-signing, delete target at beginning * Remove code signature if found since arm64 signing seems to auto-sign * Build both architectures for mysql (8.0) * Back off of mysql 8.0 for arm64, it's actually not in the offical mysql on dockerhub * Temporary hack to set host.docker.internal The Docker Mac M1 preview does not yet support host.docker.internal So this lets us set it to what it is for me, or override it in the ~/.ddev/global_config.yaml * Fix broken Makefile - lost a couple of lines somehow * Update golang-build-container to v1.16-beta * Update BUILD_IMAGE to v1.16-beta * Retire PACKR2_BUILD_IMAGE and use BUILD_IMAGE for that. * Only build Apple M1 using go1.16-beta * Build bottles for M1 homebrew * Try to get the homebrew stuff from the correct repo * Minor fixes that won't fix it
The announcement was made this week that macOS and mac hardware are going to switch to ARM chips.
This has major impact on DDEV-Local. We'll want to be prepared for the new hardware before it is released in Fall, 2020
In order to have DDEV-Local ready for before new hardware comes out, we should
Related: #2322 is about building binary and docker images, and it may come sooner.
The text was updated successfully, but these errors were encountered: