-
Notifications
You must be signed in to change notification settings - Fork 382
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
Container won't start on RPI Zero W running Raspbian Buster #150
Comments
Hi @tms0, Try one of the following command, where explicit tags are used for arm32v6.
or
Let me know if that works for you. Ray |
Hi @RaymondMouthaan, Thanks, it works with the explicit tag ! tms |
Hi @tms0, Glad it worked out for you, using explicit tags for arm32v6 on Raspberry Zero. Expected behaviour would be that Docker pulls automatically the correct arm32v6 image for you, instead of pulling arm32v7, however it doesn't. It's a docker issue as described here moby#37647 |
Good to know, thank you ! As a workaround, do you think it's possible to add rpi tags like in the deprecated repository ? This way we can get the latest image for rpis easily. Regards, |
In case of non rpi zero, docker pulls the right image. Tested on a rpi 3b with Raspbian (32bit) and Ubuntu Server (64bit), where Docker respectively pulls arm32v7 and arm64v8. So the issue only occurs on rpi zero. Given the above, I'll consider to add a tags related to Raspberry Pi Zero. This would mean 6 new manifest list with the following tags:
|
Not sure we want to add specific labels like this when it's an upstream problem that should get fixed. Once we have them we can't then easily remove them later. (well we can but it would upset users). I think maybe we just add extra docs for now - to both the Readme and the dockerhub page ? |
@dceejay, I agree - some extra lines in the docs would help Raspberry zero users, without define specific tags in the Node-RED repo. One remark to this: there is no 'latest' like tag for |
ok - noted. Will have a go at it later. |
Ok have added some Note: to all the READMEs |
Hi, Did you see this comment moby/moby#34875 (comment) ? It seems like reordering the manifest can fix this issue. |
oh good find - worth a try ? @RaymondMouthaan ? |
hmm - ours look like this - so v6 is already ahead of v7
|
Hi, @dceejay, there is a new proposed workaround : moby/moby#34875 (comment) Can you have a look please ? |
if you have time to test it and provide a pull request that would be good. The comments following that still say it is not recommended. |
My testing today - via https://hub.docker.com/r/nodered/node-red-dev/tags - setting the variant to v6l - still loaded the v7 for pizero - so by all means prove me wrong and show me how, but I have now looked. |
Sorry, I didn't mean to waste your time, thanks for trying ! |
Not a problem - if you do find a fix and manage to get it to work - please do let us know. |
Just came across this (still) open issue and notice that moby/moby#34875 has been merged just 4 days ago, perhaps worth trying? |
I see several thing being merged in that thread. I thought I tried the proposed workaround a few comments above and it didn't work... what has been merged to now make it work ? |
Hi @dceejay, I can confirm now it works on my rpi zero (Docker version 20.10.6, build 370c289 / containerd containerd.io 1.4.4) : $ docker run --rm nodered/node-red:latest
> node-red-docker@1.3.4 start /usr/src/node-red
> node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
3 May 09:32:05 - [info]
Welcome to Node-RED
===================
.... I think the fix is this one : containerd/containerd#4530 |
Sweet ! So Ok to close this now then :-) |
What are the steps to reproduce?
docker run -it -p 1880:1880 --name mynodered nodered/node-red
What happens?
What do you expect to happen?
A working container ;-)
Note : I tried the old image (nodered/node-red-docker:rpi) and it worked perfectly (but with an outdated node.js version).
Please tell us about your environment:
[ ] Platform/OS: RPI Zero W with a fresh install of the latest version of Raspbian Buster
[ ] Browser:
If you are a command line user please execute the following command and attach the log file.
container.log
The text was updated successfully, but these errors were encountered: