Docker.Official.Image
Docker.Official.Image copied to clipboard
[Fix] MongoDB crash on Apple Silicon devices in Docker Compose
Description
This PR addresses the issue #204, regarding MongoDB crashing on Apple Silicon devices when running Rocket.Chat using Docker Compose. The root cause is related to QEMU not supporting emulating AVX instructions on ARM64 in Docker. The proposed solution involves adding a specific environment variable to the MongoDB service in the compose.yml file.
Changes Made
- Added the
EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU: 1environment variable to the MongoDB service in thecompose.ymlfile.
Closes: #204
Thanks @DarhkVoyd, I was struggling setting up the Rocket.Chat server on my m1, this helped. Could any maintainer merge this PR, it would help future contributor's using apple silicon to set up RC server quickly.
Thanks @DarhkVoyd, I was struggling with this