-
Notifications
You must be signed in to change notification settings - Fork 18.8k
OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "process_linux.go:101: executing setns process caused \"exit status 1\"": unknown #40399
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
Comments
Usually you'd see something like this because the runc was oom killed. |
(not related to the issue, but I noticed the warning)
Make sure that host is not publicly accessible. |
I just had the exact same thing happen to me across a bunch of nodes in my swarm cluster. On two out of 3 nodes, 4 services were killed with this error (2 on each). Docker inspect on the container on each respective node shows that their health-check failed with:
Containers have memory and CPU limits defined. None of the containers were anywhere near the limits imposed. When a container is killed by the oom-killer a message is also left in 'dmesg', this is not the case, and the actual error on the container is different (the error code is 137, but there is no mention of '"executing setns process caused ..."'. -- DISTRIB_ID=Ubuntu docker-ce 5:19.03.4 output of Client: Server: output of Client: Docker Engine - Community Server: Docker Engine - Community No errors in dmesg, syslog etc. |
same error and same symptoms... hoping for a solution |
I've got a very similar error happening when I do |
Hi all. I've the same problems with 19.03.13 on Mac os 10.15.7 in swarm mode. In my case it seems to occur when I come back from sleep mode. more info: I'm using swarm, with one stack, a private network (yejfgncrg9v7 my_network overlay swarm), some image from debian, others from alpine. (...and they are all in error except the one with powerdns...) I hope this can help for more debug info... [edit] |
This is most definitely a bug, and still not fixed. I have a 100% reproducible failure test case using TaleCaster created at this point. ALL @thaJeztah, is this something that should be moved over to https://github.com/moby/buildkit instead, or would it be more of a parallel issue since the actual 'bug' is both in FailureFailure occurs with 100% consistency when docker-compose is used to stand up the containers in any configuration whatsoever. Details on the containers can be found at TaleCaster. In the example here, only Sample Compose:
This container will compose, start, and run successfully but all attempts to run exec result in the error. Working - the issue is a missing /sysDigging into runc when I found errors related to it in the strace pointed me at the solution. And it also clearly points to the bug.
Now we test:
Well crap. It really was that simple? Crap. Preliminary Root Cause AnalysisIn the case of This also clearly points to a behavioral divergence between Possible SolutionsThis part is tricky. Build details
|
Maybe unrelated, but I got the same error and it might help you? I got the issue when using device mappings to container and not properly unmounting them before trying to end the container. I needed to reboot my docker host for it to properly get fixed. I got this error while trying my container out whilst building it. Since I now properly unmount my device I don't have the issue anymore. Dockerfile
Script to run container
Backup script
|
I landed on this issue because I was seeing something similar when trying to run a post-start hook in a Kubernetes Pod. Specifically, I was seeing the |
It appears there are some varying issues, maybe a work-around, but generally this issue is stale. If you encounter this in the current release of Moby please open a new issue. |
Uh oh!
There was an error while loading. Please reload this page.
BUG REPORT INFORMATION
Description
Service worked OK and suddenly turned Unhealthy
Steps to reproduce the issue:
don't know yet what causes:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Hosted on AWS, EC2 instance
Docker Swarm 1-node cluster, overlay network
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
CPU and RAM, Disk were not overloaded

inodes OK
looking forward to your suggestions about what may cause an issue!
Thanks in advance
The text was updated successfully, but these errors were encountered: