Skip to content

Conversation

@pmeulen
Copy link
Member

@pmeulen pmeulen commented Aug 6, 2025

Docker Desktop's x86_64 emulation (DOCKER_DEFAULT_PLATFORM=linux/amd64) now uses Rosetta by default. However, Rosetta doesn't support AVX instructions that (the bitnami) mongo 7 image requires, causing "Illegal instruction" errors.

Switch to QEMU emulation using EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU=1, which is slower but does support AVX.

…n in docker desktop

Docker Desktop's x86_64 emulation (DOCKER_DEFAULT_PLATFORM=linux/amd64) now uses Rosetta by default. However, Rosetta doesn't support AVX instructions that (the bitnami) mongo 7 image requires, causing "Illegal instruction" errors.

Switch to QEMU emulation using EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU=1, which is slower but does support AVX.
@pmeulen pmeulen requested a review from crosmuller August 6, 2025 10:50
@pmeulen pmeulen merged commit 2e23b70 into main Aug 6, 2025
2 checks passed
@pmeulen pmeulen added the bug Something isn't working label Aug 6, 2025
@pmeulen pmeulen self-assigned this Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants