-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
when running docker-compose up
on Apple Silicon
#5123
Comments
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
when running docker-compose up
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
when running docker-compose up
on Apple Silicon
Having the same problem. Given the following snippet:
ends up with
on the new MBP M1. |
Same issue here using Elasticsearch
|
I have the same problem but not just related to Can the images mentioned above start properly with Also, I guess it is not related to QEMU + ARM + Java cause jetty is running fine (credits to dnjo from the preview slack channel)
|
I guess running docker remotely on a vps is the only foreseeable solution for next couple months, until every package is supported by ARM. |
so is this an overall qemu error? this really hamstrings M1 dev a bit, which I can deal with because that's what we get for buying into essentially a hardware beta test |
Having the same problem. Trying to run Alfresco 6 on the new Macbook M1. |
I was getting this very randomly when using docker via VS code terminal. The VS code terminal is an amd64 process. Switching to the VS code insiders edition (has native support for M1) made this go away for me. |
Just tried with the latest build and this is still happening (that might not be a surprise 😁). I tried "Reset to factory defaults" and tried again, to be sure |
Having the same issue. Trying to run KinD on the new Macbook M1.
|
I used to have this issue once in a while with postgresql and django containers. Not anymore, my solution is to clear all container and images cache. Pull again to get the native containers and update Dockerfile if there are libraries that need to install separately. Previously when I use time machine to transport everything to new macbook all the cached containers and images are copied over as well. However, they’re not native. |
any solutions for this issue? 😓 |
Just downloaded the latest build announced today and this is still failing. Seems pretty common with 14 👍 on the original issue, though maybe other issues have more 😅 |
I'm getting the same error when trying to build a Terraform Provider through
|
Having exctaly the same problem... Did somone made it work with --platform linux/amd64 build? |
This is a qemu bug, which is the upstream component we use for running Intel (amd64) containers on M1 (arm64) chips, and is unfortunately not something we control. In general we recommend running arm64 containers on M1 chips because (even ignoring any crashes) they will always be faster and use less memory. Please encourage the author of this container to supply an arm64 or multi-arch image, not just an Intel one. Now that M1 is a mainstream platform, we think that most container authors will be keen to do this. |
@andriejka FYI same thing with |
I updated to the latest version of ES and the error went away :) |
@stephen-turner are there any plans to use qemu 6?
I understand that is major release, but maybe :) |
We generally track our upstreams, but only when they're released, not betas/RCs. However, I'm not sure it helps anyway. We are not wanting to emulate M1, we are running on M1 and emulating Intel. Also if https://en.wikipedia.org/wiki/ARM_architecture#Cores is correct, the M1 chip is the Arm-v8.6A architecture not 8.4M. |
I agree with @stephen-turner, this particular changelog entry will probably not affect the problem here.
|
docker version 20.10.5, build 55c4c88 mac silicon. Experiencing similar issue |
Realized that I should update on my status: After @stephen-turner 's comments I realized that we were using a number of old images which weren't built to support the M1 architecture. After upgrading images we've had a lot of success with the new version of Docker for Mac |
For people that need to run ES 6.x images for various reasons these are working for me fine on my M1 MacBook (Docker for desktop 3.3.1, BigSur) |
@zeljkokalezic thanks for the tip worked for me with some borrowed environment variables from @dprandzioch docker-compose yaml |
@stephen-turner Do you know whether this bug has been filed with |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Running the Docker for Mac preview on M1 MacBook Pro
Expected behavior
Ran
docker-compose up
. Expected node app + dependencies (mongodb and kafka/zookeeper) to start upActual behavior
Got the following log / error:
Information
Ran
docker-compose up
twice and it happened both timesI've been using a remote server to run this project with docker / docker-compose without any problems
macOS Version: 11.0.1
Couldn't find "Diagnose & Feedback"
Steps to reproduce the behavior
Dockerfile
Dockerfile
fromnode-onbuild
repo:The text was updated successfully, but these errors were encountered: