You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I'm pretty newbie/clumsy with QEMU/Docker.
I've developped a NodeJS app, and I want to package it with pkg. The thing is I want to run it on my Raspberry 4, with armv7l. So I have to package it using the same architecture than a RPi to make it work.
1 - I tried to use dockerpi to do this job. For now, am I right?
2 - So, I successfully run dockerpi (pretty easy with docker run -it -p 5022:5022 lukechilds/dockerpi pi2), but I cannot access to the RPi via FTP, or even connect to SSH from my terminal:
ssh [email protected] -p 5022
ssh: connect to host 172.17.0.2 port 5022: Operation timed out
Maybe I miss something?
3 - Also, when I watch my container with Docker Desktop, the CPU usage is always > 120%. Is it normal?
4 - The purpose is to build faster than a real RPi (it takes several hours). How can I improve the number of CPUs/RAM?
I know this is not the place to ask that, but if you have any other idea to build my NodeJS app onto armv7l architecture, feel free to help me :)
Thank you!
The text was updated successfully, but these errors were encountered:
You might have to enable SSH in Raspberry Pi OS before you can connect to it.
Have you installed any FTP server in the docker image already? I haven't tried, but I assume that should work on the same 5022 port.
Hi guys,
First of all, I'm pretty newbie/clumsy with QEMU/Docker.
I've developped a NodeJS app, and I want to package it with pkg. The thing is I want to run it on my Raspberry 4, with
armv7l
. So I have to package it using the same architecture than a RPi to make it work.1 - I tried to use dockerpi to do this job. For now, am I right?
2 - So, I successfully run dockerpi (pretty easy with
docker run -it -p 5022:5022 lukechilds/dockerpi pi2
), but I cannot access to the RPi via FTP, or even connect to SSH from my terminal:Maybe I miss something?
3 - Also, when I watch my container with Docker Desktop, the CPU usage is always > 120%. Is it normal?
4 - The purpose is to build faster than a real RPi (it takes several hours). How can I improve the number of CPUs/RAM?
I know this is not the place to ask that, but if you have any other idea to build my NodeJS app onto
armv7l
architecture, feel free to help me :)Thank you!
The text was updated successfully, but these errors were encountered: