sekai-soft / guide-nitter-self-hosting

A guide for self-hosting a Nitter instance
MIT License
154 stars 8 forks source link

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested exec /bin/sh: exec format error #3

Closed beansofhell closed 9 months ago

beansofhell commented 9 months ago

[opc@instance-20231010-2147 freebird-nitter]$ docker run ghcr.io/sekai-soft/nitter:master@sha256:4c862e6db1b6866843d1a8e2bd13f352e850d4eb1848ef174bd7d45d9dbb917b Unable to find image 'ghcr.io/sekai-soft/nitter:master@sha256:4c862e6db1b6866843d1a8e2bd13f352e850d4eb1848ef174bd7d45d9dbb917b' locally ghcr.io/sekai-soft/nitter@sha256:4c862e6db1b6866843d1a8e2bd13f352e850d4eb1848ef174bd7d45d9dbb917b: Pulling from sekai-soft/nitter 4abcf2066143: Pull complete 12862f469071: Pull complete 57c7ac81937a: Pull complete 7de8e6bb686b: Pull complete e1b26b4dfc99: Pull complete 250dfb6dbc0b: Pull complete 25b318dd04a3: Pull complete Digest: sha256:4c862e6db1b6866843d1a8e2bd13f352e850d4eb1848ef174bd7d45d9dbb917b Status: Downloaded newer image for ghcr.io/sekai-soft/nitter@sha256:4c862e6db1b6866843d1a8e2bd13f352e850d4eb1848ef174bd7d45d9dbb917b WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested exec /bin/sh: exec format error [opc@instance-20231010-2147 freebird-nitter]$ docker run ghcr.io/sekai-soft/nitter:master ./nitter: line 1: syntax error: unexpected "("

beansofhell commented 9 months ago

please add this https://github.com/PrivacyDevel/nitter/pull/13

or

OR afc97c6a8c01e7530f470a1b967a1aaef0a149e6 https://github.com/PrivacyDevel/nitter/blob/afc97c6a8c01e7530f470a1b967a1aaef0a149e6/.github/workflows/build-publish-docker.yml

KTachibanaM commented 9 months ago

I've updated my nitter docker image so that both amd64 and arm64 images use Dockerfile.arm64. Tested on my own OCI arm64 machine and it should run now. You are also free to use other nitter images if you see fit though.