RocketChat / Docker.Official.Image

Docker hub - community managed image
291 stars 217 forks source link

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

Closed DarhkVoyd closed 1 week ago

DarhkVoyd commented 6 months ago

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

Closes: #204

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

sandeepB3 commented 5 months ago

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.

nhannguyen-vietkite commented 4 months ago

Thanks @DarhkVoyd, I was struggling with this