couchbase / docker

Dockerfiles and configuration scripts for the Docker Hub Official Couchbase images
142 stars 154 forks source link

Publish aarch64 couchbase images #175

Closed yogurtearl closed 2 years ago

yogurtearl commented 2 years ago

Looks like couchbase has ARM support, but I don't see any aarch64 docker images published: https://hub.docker.com/_/couchbase

Please publish aarch64 couchbase images.

Please test them on AWS ARM support and on docker running on macOS Apple silicon.

ceejatec commented 2 years ago

Couchbase Server with Linux aarch64 support is not GA yet although it is coming soon. That will include Docker support. Those images have been tested in AWS and on M1 Macs.

It is likely that initially the aarch64 image will only be available on the Docker image "couchbase/server", not the Official Docker image "couchbase", due to a limitation required by the Docker Official Image program (https://github.com/docker-library/official-images/pull/11752#issuecomment-1029482689 ). The couchbase/server images are built by us from the same Dockerfile as the official image, though, and are equally supported for all uses.

MikeGoldsmith commented 2 years ago

When do you expect to publish the new ARM64 docker images to couchbase/server?

ceejatec commented 2 years ago

They went up last week, in fact; official GA date for Couchbase Server 7.1.0 was Monday May 10. The images are:

couchbase/server:7.1.0-aarch64 (Enterprise Edition) couchbase/server:community-7.1.0-aarch64 (Community Edition)

MikeGoldsmith commented 2 years ago

Interesting, dockerhub doesn't list them. I've done a manual docker pull couchbase/server:7.1.0-aarch64 and it found it.

Thanks @ceejatec 👍🏻

MikeGoldsmith commented 2 years ago

Oh, actually dockerhub does. The issue is that all tags are republished.

Is it intentional to republish tags so often?

For example, the default view with Newest and no filter shows these tags published only two days ago:

image
ceejatec commented 2 years ago

Yes, we frequently re-publish images when the base image is updated for security fixes. It is a little annoying that Docker Hub sorts by date rather than version, although I guess I can understand why. I've had similar problems finding things on other images for this reason.

ade-verd commented 2 years ago

Hi, I did not find any aarch64 image for Couchbase Server 7.0.3 (Enterprise Edition).

Do you plan to publish an aarch64 image for this version ?

ceejatec commented 2 years ago

@ade-verd No, the first (and so far only) version of Server to support aarch64 is 7.1.0.

ceejatec commented 2 years ago

@MikeGoldsmith FYI, Couchbase Server 7.1.1 was released this week, and we now have proper multi-arch Docker image support: couchbase/server:7.1.1 and couchbase/server:7.1.1-community work for both x86_64 and aarch64. Also, the Official image couchbase:7.1.1 and couchbase:7.1.1-community will likewise be multi-arch once it is approved and published by Docker (probably within the next 24 hours).

MikeGoldsmith commented 2 years ago

Great, thanks for the update @ceejatec 👍🏻

rochdev commented 2 years ago

I don't see support for linux/arm64 in couchbase/server-sandbox. Was the change only done for the production server?