-
Notifications
You must be signed in to change notification settings - Fork 41
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
5.16.2, 5.16.1, 5.16.0, 5.15.0, 5.14.1 all crash on startup #127
Comments
Hi, You're listing versions in error from |
No, I stopped trying at 5.14.1.
I did try and access the container - just running 'node' on it's own
crashes. I get a core file generated inside the container but beyond that i
don't know what to look for next.
…On Fri, Apr 15, 2022, 05:05 'fmartinou' via github < ***@***.***> wrote:
Hi,
You're listing versions in error from 5.14.1; does that mean that you've
found older versions working on a Pi4+?
(if so, I'm interested to know about them because I'll be able to find the
dependency change culprit & to fix it)
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRJVJM3YA7OODEO2O2Z42DVFEWPBANCNFSM5TOGIHOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's very interesting! Because that means that it's not an issue with the app itself but rather with the node virtual machine on your arch. => I'm gonna do some research to see if there are known compatibility issues caused by the combination of the node.js version, the Alpine OS version and the pi4+ arch. |
I'm using this base image |
I build WUD images for the following arm arch:
I'm wondering if your pi4+ wouldn't be a linux/arm64/v8 ? 🤔 |
.
|
Running from a 'sh' inside the container:
|
|
Found something - this works:
Also see: nodejs/docker-node#1477 |
Instead of full privilege, does this single option work as well? |
And with these privileged or security options, does |
I suppose that the image |
Yes:
Status: Downloaded newer image for node:17-alpine
#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbe93c6a4
…On Wed, Apr 20, 2022 at 1:01 PM 'fmartinou' via github < ***@***.***> wrote:
I suppose that the image node:17-alpine is also crashing?
|
Works fine. |
|
Looks good (except for listening the docker socket). Did you mount the docker socket into the container?
|
Yep - all done. Unrelated, I had similar issues with another container and Node 16 (which I just hit): |
So, if you install |
Came here to say that following works on RPI4B: docker run -d --name Whats-up-Docker |
Thank you for your feedback; I'll update the documentation to mention it for RPI users 👍 |
The documentation has been updated. |
***@***.***:~/IOTstack $ docker run -it --security-opt seccomp=unconfined
fmartinou/whats-up-docker
Unable to find image 'fmartinou/whats-up-docker:latest' locally
latest: Pulling from fmartinou/whats-up-docker
Digest:
sha256:e81ce578c54b606300f060ea268275350068c04bd02f8c743621571e65c007dd
Status: Downloaded newer image for fmartinou/whats-up-docker:latest
17:46:19.156 INFO whats-up-docker: What's up Docker? is starting (version
= latest)
17:46:19.160 INFO whats-up-docker/store: Load store from (/store/wud.json)
17:46:19.165 INFO whats-up-docker/store: Create Collection app
17:46:19.169 INFO whats-up-docker/store: Migrate data from version
undefined to version latest
17:46:19.172 INFO whats-up-docker/store: Create Collection containers
17:46:19.172 INFO whats-up-docker/prometheus: Init Prometheus module
17:46:19.756 INFO whats-up-docker/registry.ghcr: Register with
configuration {}
17:46:19.765 INFO whats-up-docker/registry.hub: Register with
configuration {}
17:46:19.768 INFO whats-up-docker/registry.lscr: Register with
configuration {}
17:46:19.774 INFO whats-up-docker/registry.quay: Register with
configuration {}
17:46:19.775 INFO whats-up-docker/registry: No Watcher configured => Init
a default one (Docker with default options)
17:46:21.334 INFO whats-up-docker/watcher.docker.local: Register with
configuration {"socket":"/var/run/docker.sock","port":2375,"cron":"0 * * *
*","watchbydefault":true,"watchall":false,"watchevents":true}
17:46:21.337 INFO whats-up-docker/watcher.docker.local: Cron scheduled (0
* * * *)
17:46:21.405 INFO whats-up-docker/registry: No authentication configured
=> Allow anonymous access
17:46:21.419 INFO whats-up-docker/authentication.anonymous.anonymous:
Register with configuration {}
17:46:21.437 WARN whats-up-docker: Anonymous authentication is enabled;
please make sure that the app is not exposed to unsecure networks
17:46:21.458 INFO whats-up-docker/api: Server listening on port 3000 (HTTP)
17:46:22.408 INFO whats-up-docker/watcher.docker.local: Cron started (0 *
* * *)
17:46:22.462 INFO whats-up-docker/watcher.docker.local: Listening to
docker events
17:46:22.486 WARN whats-up-docker/watcher.docker.local: Error when trying
to get the list of the containers to watch (connect ENOENT
/var/run/docker.sock)
17:46:22.486 INFO whats-up-docker/watcher.docker.local: Cron finished (0
containers watched, 0 errors, 0 available updates)
17:46:22.488 WARN whats-up-docker/watcher.docker.local: Unable to listen
to Docker events [connect ENOENT /var/run/docker.sock]
…On Wed, Apr 20, 2022 at 12:57 PM 'fmartinou' via github < ***@***.***> wrote:
And with these privileged or security options, does wud work as well?
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRJVJM7MCDCJEFZO46BTS3VGAZQFANCNFSM5TOGIHOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
=> have you mounted the Docker socket? |
docker run -it node:16-alpine bash
Unable to find image 'node:16-alpine' locally
16-alpine: Pulling from library/node
57fb4b5f1a47: Pull complete
d1393c274244: Pull complete
1af5ea6e06a0: Pull complete
ccde71dd47a8: Pull complete
Digest:
sha256:28bed508446db2ee028d08e76fb47b935defa26a84986ca050d2596ea67fd506
Status: Downloaded newer image for node:16-alpine
#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbea9b64c
…On Fri, Apr 15, 2022 at 11:08 AM 'fmartinou' via github < ***@***.***> wrote:
I'm using this base image node:16-alpine; could you test it (just run
node -v or something like that) and confirm that the core dump also occurs?
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRJVJOZCQYWSZVL3BADWTDVFGA7LANCNFSM5TOGIHOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
***@***.***:~/IOTstack $ docker run -it --security-opt seccomp=unconfined
node:16-alpine
Welcome to Node.js v16.14.2.
Type ".help" for more information.
…
On Wed, Apr 20, 2022 at 11:27 AM 'fmartinou' via github < ***@***.***> wrote:
Instead of full privilege, does this single option work as well?
--security-opt seccomp=unconfined
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRJVJIICUTTBPMWZ4WIIELVGAO55ANCNFSM5TOGIHOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Raspberry Pi 4+:
docker logs wud
:The text was updated successfully, but these errors were encountered: