In summary, running Intel-based containers on Arm-based machines should be regarded as “best effort” only. Even when the containers do run correctly under emulation, they will be slower and use more memory than the native equivalent. In addition, filesystem change notification APIs ( inotify) do not work under qemu emulation. However, attempts to run Intel-based containers on Apple Silicon machines under emulation can crash as qemu sometimes fails to run the container. You can work around this issue by using a mariadb image. In particular, the mysql image is not available for ARM64. You can add -platform linux/amd64 to run an Intel image under emulation. Not all images are available for ARM64 architecture.
We expect to fix this in a future release.