Skip to content
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

build for all platforms, use buildx platform defaults #29

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

daithi-coombes
Copy link

Running the deployed litecoin-core image on apple m1 arm64 chipset throws a wrong architecture error:

runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc

Definition of done:

  • Build multi-arch container
  • Bump minor version
  • Test deployed image on m1 chipset

@ltardivo
Copy link

Hi! We are having the same issue: runtime: failed to create new OS thread (have 2 already; errno=22).

Did you solve it with these modifications? have any progress on this?

Thank you in advance!

@daithi-coombes
Copy link
Author

@ltardivo yes this one is a head scratcher. Seems apple's M1 chipset doesn't play well with docker, so the solution was to downgrade docker desktop (@see https://github.com/uphold/environment/blob/master/bin/bootstrap#L85)

@ltardivo
Copy link

@ltardivo yes this one is a head scratcher. Seems apple's M1 chipset doesn't play well with docker, so the solution was to downgrade docker desktop (@see https://github.com/uphold/environment/blob/master/bin/bootstrap#L85)

Thanks for your answer. It seems I have no permissions to open it. But we will try to downgrade docker desktop as you suggest.

Thank you so much!

@daithi-coombes
Copy link
Author

@ltardivo yes this one is a head scratcher. Seems apple's M1 chipset doesn't play well with docker, so the solution was to downgrade docker desktop (@see https://github.com/uphold/environment/blob/master/bin/bootstrap#L85)

Thanks for your answer. It seems I have no permissions to open it. But we will try to downgrade docker desktop as you suggest.

Thank you so much!

no problem. Also the working version of docker is <=3.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants