-
Notifications
You must be signed in to change notification settings - Fork 40k
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 reports incorrect exit code for containers if the docker service was restarted #41516
Comments
/cc @kubernetes/sig-node-bugs |
Reported the issue to docker: moby/moby#31262 |
[Update] I tested on docker 1.12.1, 1.12.4, 1.12.5 and all saw the same problem, while this seems already fixed in docker 1.13.0 & 1.13.1:
Of course it is still a issue for 1.12.x. |
@mrunalp, this is the issue I talked to you last time. Have you seen the same issue in openshift? /cc @derekwaynecarr |
@yujuhong I don't see this issue on Fedora 25 with our docker 1.12.6 |
Hmm..Where can I find the list of patches for your docker? |
We also have similar trees for containerd and runc under projectatomic. |
This is a kludge to work around a Docker [exit code bug](kubernetes/kubernetes#41516). Now, when docker_termination_logging is set to "true" for the scheduled workflow at submission time, a message in the termination log will be expected for determination of the container exit status.
This is a kludge to work around a Docker [exit code bug](kubernetes/kubernetes#41516). Now, when docker_termination_logging is set to "true" for the scheduled workflow at submission time, a message in the termination log will be expected for determination of the container exit status.
This is a kludge to work around a Docker [exit code bug](kubernetes/kubernetes#41516). Now, when docker_termination_logging is set to "true" for the scheduled workflow at submission time, a message in the termination log will be expected for determination of the container exit status.
This is a kludge to work around a Docker [exit code bug](kubernetes/kubernetes#41516). Now, when docker_termination_logging is set to "true" for the scheduled workflow at submission time, a message in the termination log will be expected for determination of the container exit status.
FYI, I could still reproduce this in docker |
Updated that moby/moby#31262 (comment) is a red herring. The issue is actually fixed in newer Docker. |
👍 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
To reproduce this, start several containers and restart docker with
sudo systemctl restart docker
orsudo service docker restart
, depending on the OS distro.After docker restarts properly, run
docker ps -a
and see containers were terminated with exit code 0.I tested this on three docker versions: 1.10.3, 1.11.2, and 1.12.6. Only docker 1.10.3 correctly reported the 137 exit code.
This issue was claimed to be fixed in moby/moby#26143
The text was updated successfully, but these errors were encountered: