phpmyadmin / docker

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

Running on docker with Rosseta 2 enabled #405

Closed jarrettj closed 1 year ago

jarrettj commented 1 year ago

Describe the bug

Upgrade docker to take advantage of the Rosetta emulation. But now phpmyadmin throws a segmentation fault.

To Reproduce

Enable Rosetta on docker desktop for mac: Screenshot 2023-04-13 at 10 57 36

Run phpmyadmin docker.

Errors in logs:

[Thu Apr 13 09:08:38.205003 2023] [core:notice] [pid 1] AH00052: child pid 43 exit signal Trace/breakpoint trap (5)
2023-04-13 09:08:38 rosetta error: futex(FUTEX_LOCK_PI_PRIVATE) failure: 35
[Thu Apr 13 09:03:20.273595 2023] [core:notice] [pid 1] AH00052: child pid 33 exit signal Segmentation fault (11)
rosetta error: futex(FUTEX_LOCK_PI_PRIVATE) failure: 35
[Thu Apr 13 09:08:38.205003 2023] [core:notice] [pid 1] AH00052: child pid 43 exit signal Trace/breakpoint trap (5)
[Thu Apr 13 09:08:38.204984 2023] [core:notice] [pid 1] AH00052: child pid 42 exit signal Trace/breakpoint trap (5)

Expected behavior

Well, phpmyadmin should start. Or give some steps on how to resolve?

Server configuration

Client configuration

Regards, Jarrett

williamdes commented 1 year ago

Hi! You are most probably using phpmyadmin/phpmyadmin instead of phpmyadmin:latest. This one is multi arch and should support your CPU

Let me know

codezz commented 1 year ago

Hi! You are most probably using phpmyadmin/phpmyadmin instead of phpmyadmin:latest. This one is multi arch and should support your CPU

Let me know

You are a star! Switching to phpmyadmin:latest works.

jarrettj commented 1 year ago

Whoops, forgot to close the issue, thanks :)