Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed

Conversation

DarhkVoyd
Copy link

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

@CLAassistant
Copy link

CLAassistant commented Feb 7, 2024

CLA assistant check
All committers have signed the CLA.

@DarhkVoyd DarhkVoyd changed the title [NEW] Fix MongoDB crash on Apple Silicon devices in Docker Compose [Fix] MongoDB crash on Apple Silicon devices in Docker Compose Feb 7, 2024
@sandeepB3
Copy link

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
Copy link

Thanks @DarhkVoyd, I was struggling with this

@DarhkVoyd DarhkVoyd closed this by deleting the head repository Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[compose.yml] bitnami/mongodb crashes with Illegal instruction on Apple Silicon
4 participants