Troubleshooting QEMU Segmentation Fault in Docker Desktop During Multiplatform Build

I have a Docker Desktop. I have given wsl all the resources. But during multiplatform build amd → arm, I get the error “qemu: uncaught target signal 11 (Segmentation fault) - core dumped”. Does it lack 40GB RAM and 6 cores? Can this be affected in Docker Desktop?

1 Like

Check Docker Desktop resources (Settings > Resources) and increase RAM/CPUs. Update QEMU & binfmt_misc with:

docker run --rm --privileged tonistiigi/binfmt --install all

Try limiting build concurrency:

docker buildx build --platform linux/arm64 --progress=plain --load .

For stability, consider a native ARM machine. :rocket::spouting_whale:

I installed Docker Desktop on WIndows. A wsl image of docker-desktop was created. Do I need to make these changes to qemu in this image?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.