-
Notifications
You must be signed in to change notification settings - Fork 518
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
devcontainer on ARM Based Computers / Apple Silicon Macs #2728
Comments
Updated title and comment for future searching. |
As an avid Mac user, I want this to work as I'm planning on upgrading in the next year. Unfortunately, we are dependent on the containers for our persistence providers (SQL/Cosmos) which both have open issues for M1 support. We can't support an ARM host until they publish an ARM container. I'm also keeping an eye on this work from the folks at Docker. Until then, we won't have an Apple Silicon dev container and you'd have to use Cosmos/SQL in Azure or QEMU for your dev flow. 😢 |
Fair enough. I appreciate your time and info @mikaelweave. I'll be sure to keep an eye on those issues as well. 🙏 |
No problem, anytime. I'll keep an eye on this as well and will update here when I see a path to Apple Silicon support. |
Closing this thread, as the question is answered. |
@tinydogio-joshua - it looks like Docker now has a page for this. |
Nice. I'll give it a shot soon. Thank you. 🙏 |
@mikaelweave Were you able to get this working? I gave it a shot but didn't have much luck. |
I don't have a Apple Silicon Mac, so can't test it out 😦 |
I just tried with no luck. I am coming up with a procedure that looks promising though (even if not ideal). |
I'm not sure why this issue has been closed. Getting the emulator to work on Apple Silicon hardware should be a high priority for the Azure Cosmos team. Since cross-platform functionality is a huge feature in the latest .NET releases it's a shame to see that the Azure tools don't share that focus. I've created this post in Azure feedback - not sure if it'll have any impact, but worth a shot: |
I figured it was closed as it's not really for this team to fix the core issue (CosmosDB Emulator). I'd also love to see it working. I read somewhere that Ventura enables Rosetta 2 in their virtualization framework that Docker can leverage to run x86 containers. Hopefully fixing the main issue. That said I've been disappointed to see people asking for this in multiple places from the CosmosDB emulator team and have been largely ignored with not even a comment in most cases. |
@daveHylde, @tinydogio-joshua - been a while but have you checked out colima? It looks to use the standard docker cli APIs (you will still need to install https://code.visualstudio.com/remote/advancedcontainers/docker-options#_macos-colima I'm going to start using colima on my Intel based Mac. @daveHylde I agree but need the hardware to test out anything. Literally just found colima 5 minutes ago and rushed back here. |
Question
Are there any plans of updating the devcontainer so it works on Macs with Apple Silicon or other ARM based hardware?
Is your question answered in our documentation? - Not that I could find.
Our team also monitors the FHIR Community chat @ http://chat.fhir.org - Cool.
Description
I have been trying to get the devcontainer working, but haven't had much luck. Digging into it I saw that the cosmos emulator container consistently crashes with the following error.
I was able to track down the following information and am now guessing the emulator is not currently supported with my hardware. I imagine this is going to come up in the future quite often and am wondering if there are plans to support Apple Silicon based Macs or other ARM based hardware.
https://docs.microsoft.com/en-us/azure/cosmos-db/linux-emulator?tabs=sql-api%2Cssl-netstd21#the-docker-container-failed-to-start
AB#94112
The text was updated successfully, but these errors were encountered: