exec /init: exec format error
Valdri opened this issue · 4 comments
Valdri commented
my compose file:
version: "2.1"
services:
smokeping-slave:
image: dgraziotin/smokeping-slave
container_name: smokeping-slave
hostname: wan2
entrypoint: /init
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Warsaw
- 'SHARED_SECRET=XXXXXXX'
- 'MASTER_URL=http://192.168.0.168:8081/smokeping/smokeping.cgi'
restart: unless-stopped
```
System info:
Docker version 26.0.0, build 2ae903e
Host: Debian GNU/Linux 11 (bullseye)
dgraziotin commented
I need an important detail: what’s your CPU architecture?
Valdri commented
x64
The previous version of the image was for amd64, but the new build is for arm.
So when I updated the image, it stopped working.
dgraziotin commented
Hi, could you try to pull the image again? I've just rebuilt it using buildx
Valdri commented
Hi there,
thank you for your support, this solved my issue.