Apple Silicon / Darwin ARM64 (Apple M1 computer hardware w/ Mac OS 11+)

Is there a timeframe for binaries of the CE of Couchbase Server built for Apple Silicon / Darwin ARM64?

Is there a how-to for building Couchbase Server CE on Mac OS (11+)?

x86-64 binary of Couchbase CE 7.0 beta so far does work on Mac OS 11 on Darwin ARM64 (automatically via Rosetta 2).

Hello aiomm0

Thanks for using Couchbase and participating in the community forums.
It’ s great to hear that the 7.0 Beta is working well running on Rosetta 2 for you. We are working on an ARM64 version of Couchbase Server for MacOS. Our own code is fairly straight forward but it takes time as we have upstream dependencies on packages and libraries that Couchbase Server utilizes to provide ARM versions that we can integrate. You can follow along the progress from our public JIRA issue tracker.

Thanks,
Ian McCloy (Principal Product Manager, Couchbase)

Hi Ian,

Are there any updates with this issue? I’m attempting to run Couchbase enterprise docker images on Apple Silicon and running into this same compatibility problem:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

It seems that the ticket hasn’t had much activity since October, I’m able to run the normal couchbase server .dmg file locally but docker has a lot of advantages (we currently use an enterprise license with the couchbase operator for deployed apps, so using docker is a better fit to production conditions). Do you have a rough estimate for when this compatibility with M1 CPUs will be ready?

Thanks!

Continuing thread. I am trying to run couchbase as a docker container on Apple Silicon M1 and getting the below message.

docker: no matching manifest for linux/arm64/v8 in the manifest list entries.

Thank you.

1 Like

same here
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.

Thanks for using Couchbase Server and appreciate all your feedback. We still are working on supporting on arm64/aarch64 support. As was mentioned earlier please follow on [MB-41281] Couchbase Server arm64/aarch64 support for macOS - Couchbase database . We are making good progress and you will see this issue as resolved once we have the support

Just to add to the above. When you run a Docker container on an Apple Silicon system, it’s most likely running Linux as the underlaying operating system in the container. The Rosetta translator that allows x86 software to run in MacOS is unable to run x86 Docker containers and Virtual Machines, so you must use images which are specifically built to run on ARM. We are working on a Linux ARM version of Couchbase Server to resolve this issue which will allow you to run a container on your Mac, you can track the progress at https://issues.couchbase.com/browse/MB-42239 .

Hi @ianmccloy and @raju , any progress on the https://issues.couchbase.com/browse/MB-42239? It seems, in June the status was “we’re 95% of the way to getting a first build”, do you have plans to release it soon?

Is there any updates on this? I am still not able to install Couchbase server on my Mac version 11.5 version which is having the Silicon M1 chip

@sgntheone Thank you for your interest in Couchbase products. This work is still in progress, https://issues.couchbase.com/browse/MB-49155 is the issue currently we have open