You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide arm64 docker image for running on Apple M1/M2 #309
I've run into this as well while trying to use Citus locally for development.
It looks like the Docker files pull packages from the Debian repository which doesn't have any arm64 artifacts published: packagecloud. I guess we would need to start there, by publish arm64 .debs.
I ran into the same issue since there are still no official arm64 images on Docker Hub. However, I was able to work around it by building the alpine version locally for the required architecture:
Activity
xin-hedera commentedon Oct 18, 2022
upvote this
j-white commentedon Jul 18, 2023
I've run into this as well while trying to use Citus locally for development.
It looks like the Docker files pull packages from the Debian repository which doesn't have any
arm64artifacts published: packagecloud. I guess we would need to start there, by publish arm64 .debs.j-white commentedon Jul 20, 2023
I spent some time deciphering the builds and I managed to get an
arm64version of the image up here: https://hub.docker.com/layers/jwhiteatdocker/citus/12.0.0-pg14/images/sha256-caa0ba563dc700428d8c01bd4962cfb5feda61b7958a13a73d8542dba4a90fcd?context=repoFirst, I fixed the
build_packagescommand so I could rebuild existingx64packages: j-white/citus-packaging@45d0a56I got them to build on an M1 (
arm64): j-white/citus-packaging@d3df965I uploaded the packages to packagecloud: https://packagecloud.io/j-white/citusdata-community-arm64
And then I rebuilt the Docker images: j-white@b040f72
The result is a multi-arch container for Citus 12.0.0 and PG14:
9mm commentedon Jan 15, 2024
+1
That's an awesome solution but ideally this is part of official image
aorticweb commentedon Jun 13, 2024
+1 on this
jremen commentedon Jun 20, 2024
+1
Please add this to official repo
xgerman commentedon Nov 1, 2024
+1 also for pg16
henrichter commentedon Mar 31, 2025
I ran into the same issue since there are still no official
arm64images on Docker Hub. However, I was able to work around it by building the alpine version locally for the required architecture:Clone the repository:
Build the image using the Alpine Dockerfile:
Hope this helps!