Mac M1 Support : via Colima (Requesting feedback) #114
Replies: 3 comments
-
I tested this out and was able to get the emulator to start up with Colima, but I ran into cert warnings trying to execute locally. I vaguely remember there being some mac specific commands needed to add the cert to the mac trust store, but I can't seem to dig them up... those should definitely be included in any sort of published instructions. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
docker run --publish 8081:8081 --publish 10250-10255:10250-10255 --platform linux/amd64 --detach mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest This command gets me this:
I'm running Apple M3 Pro, Sonoma 14.7.1, Colima (started with the --arch amd flag) |
Beta Was this translation helpful? Give feedback.
-
We've received many requests on UserVoice and GitHub for M1 Mac support. While we’re working on native support, we’d love feedback on using Colima as a workaround. Some users have already reported success in this repo, but we’d like more input before an official announcement. Here are the steps to try it out:
Here’s a step-by-step guide in markdown format for testing M1 Mac support with Colima as a workaround.
Using MacPorts
Using Nix
Step 2: Start Colima Docker Builder
After installing Colima, start it with the following command to configure the Docker builder:
Step 3: Run the Emulator
Once Colima is running, use Docker to run the emulator. Execute the following command:
Additional Notes
Thank you for your help and feedback!
Beta Was this translation helpful? Give feedback.
All reactions