-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Docker container exits with code 139 #570
Comments
What do the I'm not able to reproduce the issue $ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:5.6.24
d671a4fce32d58e1f6e74ed96bf6ea46404c3822213820f26a3189174c95265b
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d671a4fce32d mysql:5.6.24 "/entrypoint.sh mysq…" 38 seconds ago Up 33 seconds 3306/tcp some-mysql Maybe your local copy is corrupted, you could try |
Hi,
|
Are you running on x86/amd64 architecture? That's the only one this image supports |
I had the exact same behavior (error 139, no log output) for a mysql:5.5 image. |
Hi, |
Are you using Docker for Windows/Mac or Linux Containers on Windows? An |
I am currently using Docker for Debian |
Yeah there isn't much more I can think of other than something odd in your environment affecting this. |
I also have this problem: |
As mentioned above, this is likely environmental. One change between Debian 9 and 10 is the addition of AppArmor, so perhaps there's a new AppArmor policy causing trouble? Closing since we cannot reproduce -- for further help/discussion, I'd suggest the Docker Community Forums, the Docker Community Slack, or Stack Overflow. |
For me it was solved by updating the docker on my machine |
It is very likely, that old glibc references are conflicting with new Debian 10 kernel, see workaround here: And kernel change is here: |
- Switch from Alpine to Debian for container images to deal with bad exit code 139 (upon successful conversions) - The resulting container image is bigger than Alpine, but at least it works and doesn't require software hacks - See also docker-library/mysql#570, https://stackoverflow.com/questions/65234217/centos8-podman-exiting-all-containers-139, https://groups.google.com/a/lbl.gov/g/singularity/c/PWv0HeuZKN8
Hello,
I am facing an issue when i want to run a mysql container: I tried with the example command i found on the Docker hub:
Shows that the container exited with code 139
mysql:5.6.24 "/entrypoint.sh mysq…" 13 seconds ago Exited (139) 12 seconds ago some-mysql
And i can't have a single line of logs: the return of the docker logs command is empty...
The text was updated successfully, but these errors were encountered: