Commit 0737275
committed
Fix illegal instruction when starting mongo container on apple silicon 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.1 parent e656566 commit 0737275
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
0 commit comments