achannarasappa / ticker

Terminal stock ticker with live updates and position tracking
GNU General Public License v3.0
4.98k stars 271 forks source link

Does not run on Raspberry Pi Docker #90

Open ngocphamm opened 3 years ago

ngocphamm commented 3 years ago

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):

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

achannarasappa commented 3 years ago

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

ngocphamm commented 3 years ago

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
achannarasappa commented 3 years ago

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

ngocphamm commented 3 years ago

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

github-actions[bot] commented 3 years ago

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.

ngocphamm commented 3 years ago

Not resovled yet.