[GH-ISSUE #541] latest image broken due to wrong arch binary #294

Closed
opened 2026-02-25 20:33:15 +03:00 by kerem · 7 comments
Owner

Originally created by @SNB-hz on GitHub (Mar 21, 2023).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/541

Trying to use the latest image from Github container registry yields the following error:
exec /usr/local/bin/asciinema: exec format error

Apparently the image contains a binary compiled for a different architecture.
Affected image sha256: bc05a57bf4cbd3d6708ed7abdd38b5924cdb6394bb9e6c5a1361ae8d7e409354

Originally created by @SNB-hz on GitHub (Mar 21, 2023). Original GitHub issue: https://github.com/asciinema/asciinema/issues/541 Trying to use the latest image from Github container registry yields the following error: `exec /usr/local/bin/asciinema: exec format error` Apparently the image contains a binary compiled for a different architecture. Affected image sha256: `bc05a57bf4cbd3d6708ed7abdd38b5924cdb6394bb9e6c5a1361ae8d7e409354`
kerem closed this issue 2026-02-25 20:33:16 +03:00
Author
Owner

@ku1ik commented on GitHub (Mar 21, 2023):

What arch are you installing on?

<!-- gh-comment-id:1477697530 --> @ku1ik commented on GitHub (Mar 21, 2023): What arch are you installing on?
Author
Owner

@SNB-hz commented on GitHub (Mar 21, 2023):

x86_64
the same k8s cluster ran the old docker images (asciinema/asciinema-server:latest ) for months without issues. Had to clear the docker image cache and therefore switched to the Github container registry images. All other settings apart from image URL remained unchanged

<!-- gh-comment-id:1477739930 --> @SNB-hz commented on GitHub (Mar 21, 2023): x86_64 the same k8s cluster ran the old docker images (`asciinema/asciinema-server:latest `) for months without issues. Had to clear the docker image cache and therefore switched to the Github container registry images. All other settings apart from image URL remained unchanged
Author
Owner

@SNB-hz commented on GitHub (Mar 21, 2023):

tried it out locally and got a bit more output: seems the latest image is ARM, which imo should be tagged separately.
Status: Downloaded newer image for ghcr.io/asciinema/asciinema:latest WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
I've tried using Ubuntu and alpine images instead, but those containers just Error out / CrashLoop without logging anything. Again, the DockerHub image with exact same settings worked just fine

<!-- gh-comment-id:1477742595 --> @SNB-hz commented on GitHub (Mar 21, 2023): tried it out locally and got a bit more output: seems the `latest` image is ARM, which imo should be tagged separately. `Status: Downloaded newer image for ghcr.io/asciinema/asciinema:latest WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested ` I've tried using Ubuntu and alpine images instead, but those containers just Error out / CrashLoop without logging anything. Again, the DockerHub image with exact same settings worked just fine
Author
Owner

@ku1ik commented on GitHub (Mar 21, 2023):

Ah, so that's about asciinema-server image, not asciinema (this repo), got it.

Nevermind, see below.

<!-- gh-comment-id:1478361560 --> @ku1ik commented on GitHub (Mar 21, 2023): ~~Ah, so that's about asciinema-server image, not asciinema (this repo), got it.~~ Nevermind, see below.
Author
Owner

@ku1ik commented on GitHub (Mar 21, 2023):

The asciinema-server one seems to be fine, just tested it on x86_64 box:

$ docker run --rm -ti ghcr.io/asciinema/asciinema-server /bin/bash
Unable to find image 'ghcr.io/asciinema/asciinema-server:latest' locally
latest: Pulling from asciinema/asciinema-server
c158987b0551: Pull complete
d19f5f8273fc: Pull complete
648e90b5aaa2: Pull complete
29341731aa8a: Pull complete
3d92658f2790: Pull complete
32d5a33f1d1f: Pull complete
Digest: sha256:0bb5c6507a6857c895ea9aa4784479116c820aff16883b99e0a878e372f7db26
Status: Downloaded newer image for ghcr.io/asciinema/asciinema-server:latest
4df981118135:/opt/app#
<!-- gh-comment-id:1478370022 --> @ku1ik commented on GitHub (Mar 21, 2023): The asciinema-server one seems to be fine, just tested it on x86_64 box: ``` $ docker run --rm -ti ghcr.io/asciinema/asciinema-server /bin/bash Unable to find image 'ghcr.io/asciinema/asciinema-server:latest' locally latest: Pulling from asciinema/asciinema-server c158987b0551: Pull complete d19f5f8273fc: Pull complete 648e90b5aaa2: Pull complete 29341731aa8a: Pull complete 3d92658f2790: Pull complete 32d5a33f1d1f: Pull complete Digest: sha256:0bb5c6507a6857c895ea9aa4784479116c820aff16883b99e0a878e372f7db26 Status: Downloaded newer image for ghcr.io/asciinema/asciinema-server:latest 4df981118135:/opt/app# ```
Author
Owner

@ku1ik commented on GitHub (Mar 21, 2023):

The image for asciinema cli (recorder) is indeed wrong arch:

$ docker run --rm -ti ghcr.io/asciinema/asciinema
Unable to find image 'ghcr.io/asciinema/asciinema:latest' locally
latest: Pulling from asciinema/asciinema
d4ba87bb7858: Pull complete
b4639dc8989d: Pull complete
4f4dc9bf5393: Pull complete
746198c1250a: Pull complete
1ca33713fa09: Pull complete
26d42e37ecee: Pull complete
5efbb974746e: Pull complete
b1f97fcad540: Pull complete
Digest: sha256:bc05a57bf4cbd3d6708ed7abdd38b5924cdb6394bb9e6c5a1361ae8d7e409354
Status: Downloaded newer image for ghcr.io/asciinema/asciinema:latest
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
exec /usr/local/bin/asciinema: exec format error
<!-- gh-comment-id:1478372082 --> @ku1ik commented on GitHub (Mar 21, 2023): The image for asciinema cli (recorder) is indeed wrong arch: ``` $ docker run --rm -ti ghcr.io/asciinema/asciinema Unable to find image 'ghcr.io/asciinema/asciinema:latest' locally latest: Pulling from asciinema/asciinema d4ba87bb7858: Pull complete b4639dc8989d: Pull complete 4f4dc9bf5393: Pull complete 746198c1250a: Pull complete 1ca33713fa09: Pull complete 26d42e37ecee: Pull complete 5efbb974746e: Pull complete b1f97fcad540: Pull complete Digest: sha256:bc05a57bf4cbd3d6708ed7abdd38b5924cdb6394bb9e6c5a1361ae8d7e409354 Status: Downloaded newer image for ghcr.io/asciinema/asciinema:latest WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested exec /usr/local/bin/asciinema: exec format error ```
Author
Owner

@ku1ik commented on GitHub (Mar 21, 2023):

Just fixed the above problem.

If you're looking for asciinema server image then make sure you use ghcr.io/asciinema/asciinema-server image, not ghcr.io/asciinema/asciinema.

<!-- gh-comment-id:1478386221 --> @ku1ik commented on GitHub (Mar 21, 2023): Just fixed the above problem. If you're looking for asciinema server image then make sure you use `ghcr.io/asciinema/asciinema-server` image, not `ghcr.io/asciinema/asciinema`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#294
No description provided.