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?
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

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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With