Docker.Official.Image icon indicating copy to clipboard operation
Docker.Official.Image copied to clipboard

[Fix] MongoDB crash on Apple Silicon devices in Docker Compose

Open DarhkVoyd opened this issue 2 years ago • 3 comments

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: 1 environment variable to the MongoDB service in the compose.yml file.

Closes: #204

DarhkVoyd avatar Feb 07 '24 18:02 DarhkVoyd

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 07 '24 18:02 CLAassistant

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.

sandeepB3 avatar Mar 11 '24 06:03 sandeepB3

Thanks @DarhkVoyd, I was struggling with this

nhannguyen-vietkite avatar Apr 25 '24 07:04 nhannguyen-vietkite