iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.42k stars 1.85k forks source link

[Question] docker compose for arm64/v8 (Raspberry Pi 5) #4786

Closed fgerent closed 4 months ago

fgerent commented 4 months ago

I followed the docker install instructions (both prod and dev) for a Raspberry Pi 5 host, but was initially getting exec format errors.

I was able to solve that by adding "platform: linux/arm64/v8" to my docker compose file, maybe that could be added as an optional (commented out) entry to the example docker files, similar to how there's an option for the arm64 image?

unixfox commented 4 months ago

follow the docs: https://docs.invidious.io/installation/#docker

fgerent commented 4 months ago

Sorry, I must be missing something. That's the documentation I was following, I just searched that page and I don't see any references to "platform" there. Where is that information located?

unixfox commented 4 months ago

search for "ARM64"

fgerent commented 4 months ago

I can see the arm64 image option (as I had mentioned on my original message), but even when using that image I was getting exec format errors. That was only fixed when I specifically added "platform: linux/arm64/v8", and I don't see that option mentioned anywhere in the documentation.

cyriacbijun commented 3 weeks ago

@fgerent I'm trying to do the same but I haven't been able to get it working. Could you redact the personal info from your docker-compose.yml and show the details from the file?