SPLRGE / traefik

↗ A web interface for Traefik reverse proxy
MIT License
3 stars 0 forks source link

Compatibility with ARMv7 (for raspberry pi) #3

Open dev-cetus opened 1 month ago

dev-cetus commented 1 month ago

Some Raspberry PIs have an ARMv7 processor, and the docker image is not compatible with this architecture. Logs during key generation on a Raspberry Pi 4 Model B Rev 1.5:

user@raspberrypi:~$ sudo docker run --rm ghcr.io/splrge/traefik node ace generate:key
Unable to find image 'ghcr.io/splrge/traefik:latest' locally
latest: Pulling from splrge/traefik
d25f557d7f31: Pull complete 
9ad57c0a67fb: Pull complete 
d8e86279494c: Pull complete 
ee82c33b6351: Pull complete 
240e9094a11c: Pull complete 
a269d121716b: Pull complete 
17a0828645f7: Pull complete 
4f4fb700ef54: Pull complete 
ef0c8896eb88: Pull complete 
9bc8a5bf617b: Pull complete 
3de3fab43684: Pull complete 
Digest: sha256:f680ad2f31192aff988df1f40202b73db43a5e97b82c1aa70f6bae8dce6fba88
Status: Downloaded newer image for ghcr.io/splrge/traefik: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
exec /usr/local/bin/docker-entrypoint.sh: exec format error
360matt commented 1 month ago

Have you see the --platform parameter on the build time ?

vic256 commented 1 month ago

You could try to run the image with the platform flag. Feel free to also create a PR to update the Docker image.