Problem of running EventStore in docker on Apple m1 arm64

When running EventStore image on amd64 emulation in Docker on Apple m1, get this error:

TYPE: 7
V: mono_create_corlib_exception_0
* Assertion at mini-amd64.c:214, condition `amd64_is_imm32 (disp)' not met

qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Any ideas how to fix it?

My best guess it’s an issue with the emulation of amd64 in Docker.

Docker doc :

in summary, running Intel-based containers on Arm-based machines should be regarded as “best effort” only. We recommend running arm64 containers on Apple Silicon machines whenever possible,

Note that we’re in the process of having a ARM build for eventstore .
Here is the PR : https://github.com/EventStore/EventStore/pull/3076