Closed holysoles closed 1 month ago
I just wanted to ask this before i saw this issue, i'm getting exec format errors
@Bluscream given there is actually interest from someone, I can take a look at this today
@Bluscream this should be all set now, tested this out on my Pi 4 running Raspberry Pi 11. Feel free to open another issue if you run into any problems!
version: '3.9'
services:
ginrcon:
image: ghcr.io/holysoles/ginrcon:latest
platform: linux/arm64
restart: unless-stopped
ports:
- "8085:8080/tcp"
# environment:
# PORT: 8080
# TRUSTED_PROXIES: "192.168.1.2"
# RCON_SERVER: localhost
# RCON_PORT: 7779
# RCON_ADMIN_PASSWORD: 1234
@Bluscream can you check what bit architecture your rpi is running with this command?
getconf LONG_BIT
My raspberry pi is 32bit and I can reproduce your error when I use your compose file, but not when i dont specify the platform
key like below. You shouldnt need to specify that yourself, Docker should normally resolve it automatically.
version: '3.9'
services:
ginrcon:
image: ghcr.io/holysoles/ginrcon:latest
restart: unless-stopped
ports:
- "8085:8080/tcp"
# environment:
# PORT: 8080
# TRUSTED_PROXIES: "192.168.1.2"
# RCON_SERVER: localhost
# RCON_PORT: 7779
# RCON_ADMIN_PASSWORD: 1234
Sorry, i shouldve really clarified that with my initial post; the compose i posted worked for me. portainer/docker were not able to determine the platform automatically but after adding the line to my compose ginrcon started successfully
Sorry, i shouldve really clarified that with my initial post; the compose i posted worked for me. portainer/docker were not able to determine the platform automatically but after adding the line to my compose ginrcon started successfully
@Bluscream thanks for the clarification. When you run the compose without the platform specified, can you see the sha256 hash of the image it pulls (can see on the services page entry)? Or are you saying Docker/Portainer throws an error? If it does, could you share it?
@Bluscream given i cant reproduce this and its working for you, i'm gonna close this out but feel free to open a new issue if you have any issues
This image isnt able to be run on ARM64, such as Raspberry Pis.
Best path is probably supporting an additional docker image that is built for arm 64
https://docs.docker.com/build/building/multi-platform/#cross-compilation