8000 Feature: publish arm64 builds to Docker Hub · Issue #60778 · cockroachdb/cockroach · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature: publish arm64 builds to Docker Hub #60778

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

Closed
hazcod opened this issue Feb 19, 2021 · 15 comments
Closed

Feature: publish arm64 builds to Docker Hub #60778

hazcod opened this issue Feb 19, 2021 · 15 comments
Assignees
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) O-community Originated from the community release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-dev-inf

Comments

@hazcod
Copy link
Contributor
hazcod commented Feb 19, 2021

Is your feature request related to a problem? Please describe.
Running the amd64 build on Docker for Mac on Apple Silicon is very slow.

Describe the solution you'd like
Push native arm64 builds to Docker Hub as wel.

https://hub.docker.com/r/cockroachdb/cockroach/tags?page=1&ordering=last_updated

Epic CRDB-1463

Jira issue: CRDB-3143

@hazcod hazcod added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Feb 19, 2021
@blathers-crl
Copy link
blathers-crl bot commented Feb 19, 2021

Hello, I am Blathers. I am here to help you get the issue triaged.

I was unable to automatically find someone to ping.

If we have not gotten back to your issue within a few business days, you can try the following:

  • Join our community slack channel and ask on #cockroachdb.
  • Try find someone from here if you know they worked closely on the area and CC them.

8000 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@blathers-crl blathers-crl bot added O-community Originated from the community X-blathers-untriaged blathers was unable to find an owner labels Feb 19, 2021
@dt
Copy link
Member
dt commented Mar 3, 2021

Thanks for filing this!

This will need to wait at least until we upgrade to go 1.16 -- some time after 21.1 is released -- for Darwin arm64 support.

@anr
Copy link
anr commented Mar 6, 2021

Hello @dt, I believe just releasing a Linux arm64 build for docker would help Apple Silicon users - and other docker users on arm64.

@FireMasterK
Copy link

According to #20433 (comment), building arm64 images is already possible, so why not have officially built images?

@lululombard
Copy link

Up for this, I'd like to deploy a K8s Raspberry Pi cluster in a few months, so I'd kinda need this

@rcrowe
Copy link
rcrowe commented Oct 6, 2021

As well as being slow, this impacts actually running CockroachDB on arm64 powered OSX. Repeated runs of the same test suite see qemu: uncaught target signal 11 (Segmentation fault) - core dumped.

We recently saw the exact same behaviour trying to run Elasticsearch & moving to a docker image with the tag linux/arm64/v8 resolved these segmentation faults.

@RichardJCai RichardJCai removed the X-blathers-untriaged blathers was unable to find an owner label Oct 11, 2021
@akkie
Copy link
akkie commented Mar 17, 2022

Any news here? I think more and more people switching to ARM based Apple machines these days. So I think it's crucial to have ARM support out of the box for local development. The workaround is to use PostgreSQL with the subset that is supported from CockroachDB.

@hazcod
Copy link
Contributor Author
hazcod commented Mar 17, 2022

Should also be not that much work due to the nature of Go and I think no C dependencies?

@rickystewart
Copy link
Collaborator

Unfortunately we do have C dependencies.

Here's an update I wrote in another issue a few weeks back: #58676 (comment)

Last week I took a few days to more fully explore ARM support and we now have a working cross-toolchain for M1 Macs. There are additional processes and infrastructure we need to get in place to be able to publish ARM64 cockroach images. I hope that we can have that done by the 22.2 release but it's not certain -- planning is currently underway, though.

@jlinder
Copy link
Collaborator
jlinder commented Aug 1, 2022

Hi, here's a short update to confirm that we plan to include experimental Linux ARM64 binaries and docker images, with the 22.2 release series coming this fall.

@jbg
Copy link
jbg commented Aug 3, 2022

Just to make sure you don't focus too much on M1 Macs (although native support there would be great too): I just started work on deploying a pilot of CockroachDB at work and hit a wall when I realised you don't publish linux/arm64 images. Our Kubernetes clusters at work have been arm64-only (Graviton) since more than a year now, for better performance and lower price. I'm sure we're not the only ones. This is actually the first time in recent memory that we tried to deploy something and didn't find arm64 images already published.

We'll just build from source for now, but I wanted to point out that this isn't "just" a developer experience thing for running it on M1 Macs, there are plenty of production arm64 deployments around.

@blathers-crl
Copy link
blathers-crl bot commented Oct 10, 2022

Hi @jlinder, please add branch-* labels to identify which branch(es) this release-blocker affects.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@celiala celiala added blocks-22.2.0-rc.1 release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. and removed GA-blocker blocks-22.2.0-rc.1 labels Oct 17, 2022
@celiala
Copy link
Collaborator
celiala commented Oct 20, 2022

The PR is in and backported. This no longer is a release-blocker for 22.2.0.

@jlinder
Copy link
Collaborator
jlinder commented Oct 21, 2022

Starting with v22.2.0-beta.5, we will be publishing multi-architecture docker manifests that include both x86_64 and ARM64 docker images. As previously noted, the ARM64 image will be experimental.

See PRs #89548 and #90304.

@jlinder
Copy link
Collaborator
jlinder commented Nov 7, 2022

Confirming that with v22.2.0-beta.5, ARM64 images are now available. See the releases page for where to find the images.

@jlinder jlinder closed this as completed Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) O-community Originated from the community release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-dev-inf
Projects
None yet
Development

No branches or pull requests

0