dgraziotin / docker-smokeping-slave

Docker image derived from linuxserver/smokeping to run as slave
GNU General Public License v3.0
4 stars 3 forks source link

exec /init: exec format error #3

Closed Valdri closed 6 months ago

Valdri commented 6 months ago

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 6 months ago

I need an important detail: what’s your CPU architecture?

Valdri commented 6 months ago

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 6 months ago

Hi, could you try to pull the image again? I've just rebuilt it using buildx

Valdri commented 6 months ago

Hi there, thank you for your support, this solved my issue.