phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
675 stars 455 forks source link

Not working on Pi 4 with hypriot-os #316

Closed bf8392 closed 3 years ago

bf8392 commented 3 years ago

This repository contains only Docker integration of phpMyAdmin.

Please do not report bugs in phpMyAdmin itself here, use https://github.com/phpmyadmin/phpmyadmin/issues instead.

The Image is not working on the pi 4 with hypriot os...get the following logs:


standard_init_linux.go:211: exec user process caused "exec format error"
williamdes commented 3 years ago

Hi, Could you paste here your docker-compose or docker configuration?

bf8392 commented 3 years ago

Yes :-)

  phpmyadmin:
    image: phpmyadmin/phpmyadmin
    container_name: phpmyadmin
    restart: always
    environment:
      - PMA_HOST=mariadb
    labels:
      - "traefik.enable=true"
      # Backend-Section
      - "traefik.http.routers.phpmyadminbackend.rule=PathPrefix(`/`)"
      - "traefik.http.routers.phpmyadminbackend.entrypoints=phpmyadmin"
      - "traefik.http.routers.phpmyadminbackend.tls=true"

also tested with another image (jackgruber/phpmyadmin) which works... You can ignore the traefik-Section and open up direct port instead

williamdes commented 3 years ago

You should try to replace phpmyadmin/phpmyadmin by phpmyadmin because our official docker image supports arm like jackgruber image does. https://hub.docker.com/_/phpmyadmin

cc @jackgruber

Let me know if that works for you

JackGruber commented 3 years ago

@williamdes yes works on my Pi3/Pi4, but the only downside ist there is no alpine apache version :( and the debian version is over three times big as the alpine version (113 vs 353 MB).

williamdes commented 3 years ago

Hi @JackGruber You could add an alpine apache version here by opening a pull-request ;) Alpine versions are wayyy better because they are slim

P.S.: could you add a link to this issue on your hub description or link the official repository ?

JackGruber commented 3 years ago

A link the the officale git repro was already set on my github repro and on the docker side, but i add additionally a link to the offical docker phpmyadmin hub.

You could add an alpine apache version here by opening a pull-request ;) Hm good idea :) I'll take a look at the whole thing when i find some time to see if i can do it.

williamdes commented 3 years ago

@JackGruber This seems wrong to me https://github.com/JackGruber/docker_phpmyadmin/blob/e3edef39b77024225228677a0cc26b8ac1080ab2/Dockerfile#L80

bf8392 commented 3 years ago

You should try to replace phpmyadmin/phpmyadmin by phpmyadmin because our official docker image supports arm like jackgruber image does. https://hub.docker.com/_/phpmyadmin

cc @JackGruber

Let me know if that works for you

Oh I'm sorry! I thought phpmyadmin/phpmyadmin is the official docker...my bad sorry guys! I will try it in the next days. Let me know about the alpine version =). Thanks for all the help =)

williamdes commented 3 years ago

Oh I'm sorry! I thought phpmyadmin/phpmyadmin is the official docker

Do not be sorry, It was before we did get an official official docker image ;)

Let us know so we can close this issue

bf8392 commented 3 years ago

Works like a charm =) Thanks for all the Help =)