Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to start Container via Docker Compose doesnt work #233

Open
PapaTim68 opened this issue Jun 19, 2024 · 1 comment
Open

Trying to start Container via Docker Compose doesnt work #233

PapaTim68 opened this issue Jun 19, 2024 · 1 comment

Comments

@PapaTim68
Copy link

Currently trying to setup the project using the following docker-compose.yml content:
pihole-exporter: environment: - PIHOLE_HOSTNAME=192.168.0.153 - PIHOLE_PASSWORD=abcmypassword - PORT=9617 ports: - 9617:9617 image: ekofr/pihole-exporter:latest

which doesnt work with the logs showing:
exec ./pihole-exporter: exec format error

Also tried using the API Token instead of the password, which isn't working either.
Any Ideas?

@N4v41
Copy link

N4v41 commented Oct 17, 2024

@PapaTim68 this is usually related to cpu architecture error, ex program is built for use in amd64 but is run on arm64, check the image arch using docker image inspect --format '{{.Architecture}}' repo/image:tag and proccessor arch uname -m.
you could define the architecture using the platform: linux/amd64 on the docker compose if the image is being pulled incorrectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants