jc21 / docker-mariadb-aria

Docker extension of the mariadb image that forces aria storage engine
30 stars 10 forks source link

standard_init_linux.go:211 #3

Closed oMadMartigaNo closed 3 years ago

oMadMartigaNo commented 4 years ago

Hi! New here, so please speak slowly... 😉

version: "3"
services:
  mariadb:
    image: "jc21/mariadb-aria"
    environment:
      - "MYSQL_ROOT_PASSWORD=**********************"
      - "TZ=Europe/Stockholm"
    volumes:
      - "/mnt/usbhdd/docker/mariadb:/var/lib/mysql"
      - "/mnt/usbhdd/docker/mariadb/mysql-bin:/var/lib/mysql/mysql-bin"
    ports:
      - 3306:3306
    restart: unless-stopped

I gott this error when running on my rpi swarm:

standard_init_linux.go:211: exec user process caused "exec format error",

What am i doing wrong? Thanks in advance.

jc21 commented 4 years ago

Which operating system and hardware/architecture are you using?

oMadMartigaNo commented 4 years ago

I'm using DietPi(Debian Stretch) for my raspberry pi's(ARM).

jc21 commented 4 years ago

ok can you put the output of these 2 commands:

oMadMartigaNo commented 4 years ago

Here is the info of my four raspberry pi.

processor       : 0
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 43.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 1
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 43.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 2
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 43.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 3
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 43.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

Hardware        : BCM2835
Revision        : c03111
Serial          : 100000008a18a154
Model           : Raspberry Pi 4 Model B Rev 1.1
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 16.45
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 16.45
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 16.45
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 16.45
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : BCM2835
Revision        : a020d3
Serial          : 0000000072ae620e
Model           : Raspberry Pi 3 Model B Plus Rev 1.3
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 19.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 19.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 19.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 19.20
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : BCM2835
Revision        : a52082
Serial          : 000000009c633a59
Model           : Raspberry Pi 3 Model B Rev 1.2
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 25.60
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 1
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 25.60
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 2
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 25.60
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 3
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 25.60
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : BCM2835
Revision        : 2a01041
Serial          : 00000000ea2dafd5
Model           : Raspberry Pi 2 Model B Rev 1.1

Thanks for your time.

M0E-lnx commented 4 years ago

Same issue here, but i'm on a raspberry pi 4 running raspbian buster.

OS Info:

Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:    10
Codename:   buster

docker info:

 Debug Mode: false

Server:
 Containers: 2
  Running: 2
  Paused: 0
  Stopped: 0
 Images: 5
 Server Version: 19.03.9
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.97-v7l+
 Operating System: Raspbian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: armv7l
 CPUs: 4
 Total Memory: 3.814GiB
 Name: raspberrypi
 ID: AIGT:F7XA:BA2H:TASM:3XBD:JEUV:5JXI:NSA3:FH7T:B7BH:CZRM:M4OR
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
oMadMartigaNo commented 4 years ago

I use yobasystems/alpine-mariadb instead 👍

M0E-lnx commented 4 years ago

I ended up building that locally also.

davtur19 commented 4 years ago

Same problem, on aarch64, i believe the jc21/mariadb-aria:latest image for arm, is actually for x86 Maybe x86 was pushed by mistake for all versions The label shows x86 on the build arm: https://hub.docker.com/layers/jc21/mariadb-aria/latest/images/sha256-67b8f43256a0746494788463a03f39d48debf7626e06159685456709d515c669?context=explore

ahgraber commented 3 years ago

Seems like yobasystems/alpine-mariadb doesn't pull native architecture for :latest -- when I build locally, I have to specify arm64v8 (rpi 4, ubuntu). This might be the reason behind the incorrect arch in the arm builds.