Open babasbot opened 3 years ago
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
ghcr.io/quirrel-dev/quirrel:sha-1038e25
Possible Solution
Distribute an additional Docker image based on amd64/node:lts for Apple M1 users. I propose using the tag :m1-sha-1038e25.
amd64/node:lts
:m1-sha-1038e25
-FROM node:16 +FROM amd64/node:lts
Additional context/Screenshots
Hi @babasbot! Thanks for this very thorough report. I'm looking into it in #788 :)
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.
Expected behavior/code
The container should start
Environment
ghcr.io/quirrel-dev/quirrel:sha-1038e25
Possible Solution
Distribute an additional Docker image based on
amd64/node:lts
for Apple M1 users. I propose using the tag:m1-sha-1038e25
.Additional context/Screenshots