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

Core dump on node:16-alpine3.13 (arm) #1477

Closed
jaromanda opened this issue Apr 29, 2021 · 4 comments
Closed

Core dump on node:16-alpine3.13 (arm) #1477

jaromanda opened this issue Apr 29, 2021 · 4 comments

Comments

@jaromanda
Copy link

jaromanda commented Apr 29, 2021

Environment

  • Platform: linux/arm Raspberry Pi 2, 3 and 4
  • Docker Version: 20.10.6
  • Node.js Version: 16.0.0
  • Image Tag: node:16-alpine3.13

Expected Behavior

executing docker run --rm -it node:16-alpine3.13 should result in node REPL prompt

Welcome to Node.js v16.0.0.
Type ".help" for more information.
>

Current Behavior

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xfffc9ddc

Further more when running docker run --rm -it node:16-alpine3.13 /bin/sh then starting node from the shell, an extra error is shown

Illegal instruction (core dumped)

Steps to Reproduce

docker run --rm -it node:16-alpine3.13

Additional Information

alpine3.11 and alpine3.12 work fine as does alpine3.13 on linux/amd64

No issues with buster, buster-slim

@jaromanda
Copy link
Author

On further investigation, it seems there may be an issue with alpine3.13 for armv7 - though the issue I'm getting with that would mean that it's impossible to build ANY version of node:xx-alpine3.13 - so, not sure how your docker image for alpine3.13 was even built for armv7

@SimenB
Copy link
Member

SimenB commented Apr 30, 2021

@tianon any idea?

@yosifkit
Copy link
Contributor

I would guess that this is alpinelinux/docker-alpine#135; if using --security-opt seccomp=unconfined makes it work, you'll need to update your host to:

  • Docker version 19.03.9 or newer
  • libseccomp version 2.4.2 or newer

See moby/moby#40734 for more details around this (and similar issues).

@jaromanda
Copy link
Author

jaromanda commented May 1, 2021

Yep, running with that works, so the issue is definitely alpine3.13 on armv7 - at least on the raspberry pi anyway since libseccomp is version 2.3.3

Thanks

felddy added a commit to felddy/foundryvtt-docker that referenced this issue May 27, 2021
Sallenmoore pushed a commit to Sallenmoore/foundryvtt-docker that referenced this issue Jun 18, 2023
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

No branches or pull requests

3 participants