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

Docker container crashes on M1 computers #787

Open
babasbot opened this issue Sep 23, 2021 · 1 comment · May be fixed by #788
Open

Docker container crashes on M1 computers #787

babasbot opened this issue Sep 23, 2021 · 1 comment · May be fixed by #788

Comments

@babasbot
Copy link
Contributor

Bug Report

Intel-based containers on Apple Silicon machines under emulation can crash as qemu sometimes fails to run the container.

Current Behavior

The container crashes on start.

quirrel  | #
quirrel  | # Fatal process OOM in Failed to reserve virtual memory for CodeRange
quirrel  | #
quirrel  |
quirrel  | qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
quirrel  | Trace/breakpoint trap
quirrel exited with code 133

Expected behavior/code

The container should start

Environment

  • Docker image: ghcr.io/quirrel-dev/quirrel:sha-1038e25
  • Host: Apple M1

Possible Solution

Distribute an additional Docker image based on amd64/node:lts for Apple M1 users. I propose using the tag :m1-sha-1038e25.

-FROM node:16
+FROM amd64/node:lts

Additional context/Screenshots

@Skn0tt Skn0tt linked a pull request Sep 24, 2021 that will close this issue
@Skn0tt
Copy link
Member

Skn0tt commented Sep 27, 2021

Hi @babasbot! Thanks for this very thorough report. I'm looking into it in #788 :)

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 a pull request may close this issue.

2 participants