-
Notifications
You must be signed in to change notification settings - Fork 712
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
restarting containers shown as 'running' #970
Comments
State.Status is also not present in the docker client library we're using, so probably want to update that. Looks like it was added in docker 1.9 |
The alternative is to look at the combination of State.Running and State.Restarting, since that works across versions. That's what we are doing in Weave Net. |
and State.OOMKilled, and State.Dead.... |
I am pretty sure State.Running=false for these. |
ah. Will check what docker does |
Docker has a nice function for converting the container state into a human-readable string (used in |
running 0.12...
Notice how the state is shown as 'running', yet there is none of the information - metrics, applications, etc - I'd expect to see of a running container. And the reason is that the container isn't actually running. It was started with
and is currently restarting.
docker inspect
showsNB: State.Status is a new(ish) field; older Dockers don't have it.
The text was updated successfully, but these errors were encountered: