Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

qemu: uncaught target signal 11 (Segmentation fault) - core dumped in docker containers

I am setting up Kafka in my local machine using docker-compose.

My machine details are:

macOsBigSur
Version - 11.2.3 (20D91)
Chip - Apple M1
RAM - 8 GB

Docker images are:

confluentinc/cp-zookeeper:5.5.0
confluentinc/cp-kafka:5.5.0
rabbitmq:3-management
confluentinc/cp-kafka-connect:5.5.0

Docker containers are not coming up due to qemu: uncaught target signal 11 (Segmentation fault) - core dumped error.

Could you please help me how to resolve this error?

like image 753
shivakumar sajjan Avatar asked Dec 10 '25 18:12

shivakumar sajjan


1 Answers

I had the same issue using M1 chip with MacOS Monterey 12.5.

After upgrading to MacOS Ventura 13.3 and selecting

Use Rosetta for x86/amd64 emulation on Apple Silicon

enter image description here

in Docker Desktop -> Settings -> Features in development, the error disappeared and everything worked fine.

Note that this option is not available on MacOS versions lower than Ventura 13, so upgrade is required. Source: https://github.com/docker/for-mac/issues/6788

Update December 2023

You can find the option in the General tab, as it is no longer in development for the latest versions of Docker Desktop.enter image description here

like image 67
Marin Milina Avatar answered Dec 13 '25 12:12

Marin Milina



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!