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

Help: Access via FTP (and some other questions) #38

Open
dimzeta opened this issue Jun 15, 2021 · 1 comment
Open

Help: Access via FTP (and some other questions) #38

dimzeta opened this issue Jun 15, 2021 · 1 comment

Comments

@dimzeta
Copy link

dimzeta commented Jun 15, 2021

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:

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!

@carlosperate
Copy link

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.

For better performance you can also try something like https://github.com/multiarch/qemu-user-static and use a Debian arm image.

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

2 participants