ticker icon indicating copy to clipboard operation
ticker copied to clipboard

Does not run on Raspberry Pi Docker

Open ngocphamm opened this issue 4 years ago • 6 comments

Describe the bug Does not run on Raspberry Pi Docker. Seems like there's no image available for the platform

To Reproduce Steps to reproduce the behavior:

  1. Run sudo docker run -it --rm -v ${PWD}/.config/ticker.yaml:/.ticker.yaml achannarasappa/ticker
  2. See error

Expected behavior Should run properly, because of https://github.com/achannarasappa/ticker/issues/82

Environment (please complete the following information):

  • Raspberry Pi 4B
  • OS: Raspbian
  • ticker Version: pretty sure it's latest, from Docker

Additional context Command output in my Raspberry Pi

pi@rpi4b:~ % sudo docker run -it --rm -v ${PWD}/.config/ticker.yaml:/.ticker.yaml achannarasappa/ticker
Unable to find image 'achannarasappa/ticker:latest' locally
latest: Pulling from achannarasappa/ticker
4c0d98bf9879: Pull complete
1f4f74f9247d: Pull complete
Digest: sha256:df09a7b551a285165567d485f98541ea5870daea74cf7aa6741243b8af5ee0be
Status: Downloaded newer image for achannarasappa/ticker:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific
platform was requested
standard_init_linux.go:219: exec user process caused: exec format error

pi@rpi4b:~ %  uname -a
Linux rpi4b 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux

DockerHub doesn't show any tags except for linux/amd64 🤔 https://hub.docker.com/r/achannarasappa/ticker/tags?page=1&ordering=last_updated

ngocphamm avatar Feb 10 '21 14:02 ngocphamm

The latest docker image weren't yet published. Try this one: docker pull achannarasappa/ticker:3.0.6-arm64v8

achannarasappa avatar Feb 10 '21 23:02 achannarasappa

I tried docker pull achannarasappa/ticker and got no matching manifest for linux/arm/v7 in the manifest list entries

Then I tred your suggestion docker pull achannarasappa/ticker:3.0.6-arm64v8. It downloaded okay this time, but running the image result in the similar message as above

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error

ngocphamm avatar Feb 11 '21 02:02 ngocphamm

Try downloading the latest release v3.0.7 which supports armv7 which it looks like you have. I'll have to do some research to understand how to get this working within docker

achannarasappa avatar Feb 11 '21 02:02 achannarasappa

Tried both docker pull achannarasappa/ticker and docker pull achannarasappa/ticker:3.0.7 to no luck. The page still shows no image for armv7 https://hub.docker.com/r/achannarasappa/ticker/tags?page=1&ordering=last_updated

ngocphamm avatar Feb 11 '21 02:02 ngocphamm

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Mar 14 '21 02:03 github-actions[bot]

Not resovled yet.

ngocphamm avatar Mar 14 '21 15:03 ngocphamm