-
Notifications
You must be signed in to change notification settings - Fork 120
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
Raspberry Pi Docker #80
Comments
Hi I am using snibox on an ARM vps so I have built it for ARM64 architecture. You should find it on docker hub as 'melashri/snibox'. Also I am using sqlite database instead of postgresql the official image is using which makes it a lighter in terms of RAM usage (which really suitable for PI). To run it you can use the following command and change the port of volume binding location to your specific values if you want volume) docker run -d --name snibox \
--volume /home/snibox/app/db:/app/db/database \
--publish 4500:3000 \
--restart always \
melashri/snibox |
Hi Mohamed, Tested several Ports and so on.... |
Hi I tried it on my ARM64 server which I assume PI 4 architecture is. If you are using PI zero it is ARM32 I think. Also I could help if you can provide the crash log. You can copy the container log and paste it for more information. Hint: to know which ARM architecture run |
Hi, Thanks for your help ;) |
I suspect that you are not using ARM64 image although it should be pulled automatically. Anyway you can specify the platform using Also what is the restarting policy of the container? |
Will try that in a few minutes. |
Got still the same issue..... now, sometimes the docker says: " Stopped for a minute with exit code 159" but with no further description in logs.... |
I am not sure what is the problem but lets try some debugging. If you run I think one nuclear solution would be if you build the image locally. Just clone this repository ( or one in my profile if you want sqlite version) then run |
docker version is: Server: But bow it is running ... changed several things:
|
Good to know it is working. Not sure as I don't have idea yet if everything will work. I just want to refer that even if the kernel is 64 bit your docker installation is 32bit and this is what is causing problem with ARM64 images. You can have docker in userspace as 32bit program in 64bit system but not the opposite. I think if things doesn't work out of the box you should build the image on your PI. |
I have pushed an ARM32 ( |
Hey Mohamed, |
Hi there "The change you wanted was rejected. Is there something wrong in my routing? Other docker container works fine without modification...... |
Without the logs I can't say much but as a guess this has something to do with your browser privacy settings. Add web_socket support to your reverse proxy and make sure your settings are correct. |
I#m running a Raspberry Pi for storing passwords, generating let's encrypt certificates, wallabag and stuff like that i nedd dayly. Now im searching for an easy but powefull snippet manager. Snibox is the thing i like, but its not running on rapi.... has someone a docker container built?
Alex
The text was updated successfully, but these errors were encountered: