qemu: uncaught target signal 6 (Aborted) - core dumped on Apple Silicon M1 arm64
I'm getting the following error when I'm running docker-compose up
and according to this docker thread this is a qemu related bug:
https://github.com/docker/for-mac/issues/5148#issuecomment-784992663
Here's the error:
> [5/6] RUN bundle install --jobs 4 --path .bundle/:
#10 4.104 Fetching gem metadata from https://rubygems.org/./usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.17.1/lib/bundler/worker.rb:90: [BUG] Segmentation fault at 0x00004318cbf428
#10 4.110 ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
#10 4.110
#10 4.111 SEGV received in SEGV handler
#10 4.111 -- Control frame information -----------------------------------------------
#10 4.111 SEGV received in SEGV handler
#10 4.111 qemu: uncaught target signal 6 (Aborted) - core dumped
#10 4.125 Aborted
I've passed the following config flag platform: linux/amd64
to my docker-compose.yml to try to resolve this with no luck.
This issue is happening on the following environment
- Macbook Pro M1 2020
- Mac OS Big Sur 11.2.3
- docker-compose version 1.29.1
- docker engine: 20.10.6
- docker desktop 3.3.3(64133)
Do you know why this is happening and how could I fix it? and Is there an arm based build
Edited by Richardson Dx