-
Notifications
You must be signed in to change notification settings - Fork 8
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
Run docker on RaspberryPi #21
Comments
Hmm. it should as I publish arm docker image too. What is the image (or the command) you are running ? |
Thanks for answering. My Docker stack that I use in Portainer:
I am using Raspberry Pi 4 Model B Rev 1.4 with 8GB |
I have pushed the correct images on dockerhub. Previously I only pushed multiarch iamges on github, but now i'm pushing them on both github and dockerhub. Your config as-is should now work. Can you test it and report the result please ? Thank you. |
For the first error, (exec format error). It feels like portainer or your config isn't getting the latest docker image. Is there a button to force pull or are you able to redo your config from scratch so that it pulls the latest image ? As for the curl error, it feels like it's because your mikrotik is not allowing the accounting data to be access by a web server ? Make sure you can access it manually using your browser : http://routerIP/accounting/ip.cgi More info here : https://wiki.mikrotik.com/wiki/Manual:IP/Accounting |
I figured out how to use
|
In the mikrotik configuration for webaccess to the accounting data, there is a range of allowed ip that you have to set. Make sure that you have opened is enough that both your pi and the computer you are testing have access. Are you testing the access on the same machine that you are testing the curl ? |
Yeah, I put there 192.168.88.0/24 and after that had access from my computer but not from Pi. I even changed this to 0.0.0.0/0 and had the same result. Both RaspberryPi and PC are in the same network 192.168.88.0/24
Yes. Is there some possibility to install the command I even tried to use different kinds of networks during creating the stack: https://docs.docker.com/network/
But it has the same issue |
I totally forgot that the script now default to using |
I tried:
But the result is the same:
|
Can you share your config for your latest test, i believe it should look like this :
|
Here is my config for the stack:
Also, I've tried to create docker container with the same result using this command in my RaspberryPi terminal:
|
I realized today, that this container doesn't have access to any network at all. |
Hehe, well that would certainly explain this behavior. Is this something you can/want to change ? |
Yes, please. Could you please test it on RaspberryPi if it is working? I'm afraid that it is broken. Something is missing in it, that network is not available from it at all. It would be good to add into this docker container such utility as
Tried to build:
Seems that there is no chance to build this container directly on my Raspberry |
Can it be launched on RaspberryPi?
I see this error:
The text was updated successfully, but these errors were encountered: