nunofgs / docker-octoprint

Dockerfile to set up Octoprint with x86, armv6, armv7 and arm64 support!
https://hub.docker.com/r/nunofgs/octoprint/
GNU Affero General Public License v3.0
58 stars 32 forks source link

RPI4 support #38

Open rvalle opened 4 years ago

rvalle commented 4 years ago

I am trying to get this image running on the Raspberry PI 4.

I started with the alpine version and it is not working with exec error. I noticed that it pulled the amd64 version.

I am not very familiar with multiarch images, neither am I with RPI4. So, I am trying to guess what is going on.

I believe arm32v7 images are compatible, and indeed, after pulling an octoprint armv7 image by digest it does work.

Do you know how to make this image work on RPI4?

jscholtes commented 4 years ago

Just started the debian image on a Raspberry Pi 4 4GB an it seems to work.

rvalle commented 4 years ago

@jscholtes did you try the alpine one?

I wonder what the difference is.

jscholtes commented 4 years ago

Just replaced the image with 1.4.0-alpine. It is running and the GUI loads but now i get some errors in the logs. With the debian image i cloud mount /opt/vc into the container and display the SoC temp of the Pi in the Navbar Temperature plugin. But now i get: ValueError: Command not found: /opt/vc/bin/vcgencmd

The are also problems with the ABL expert Plugin: ValueError: invalid literal for int() with base 10: 'EEPROM OK '

rvalle commented 4 years ago

@jscholtes you got further away than me.

I could not get the image to start, I got docker to report execution error instead.

I might just try to use the debian instead...

thesonandheir commented 4 years ago

Works fine for me on Raspberry Pi 4 4gb running Raspbian 64bit.