Skip to content
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

What is the container status of 'Dead'? #502

Closed
johndmulhausen opened this issue Sep 2, 2017 · 2 comments
Closed

What is the container status of 'Dead'? #502

johndmulhausen opened this issue Sep 2, 2017 · 2 comments

Comments

@johndmulhausen
Copy link
Contributor

@twang2218 commented on Tue Aug 15 2017

File: edge/engine/reference/commandline/ps.md, CC @johndmulhausen

In the document, it listed a set of possible status, created|restarting|running|removing|paused|exited|dead, however, there is no explanation of each status.

I found an article explained some of the status: http://docker-saigon.github.io/post/Docker-Internals/ , but not all of them, especially the dead status. What is the difference between dead and exited?

I think we need some docs explain the lifecycle of a docker container and link the reference here.

@thaJeztah
Copy link
Member

@johndmulhausen

"dead" is used for a "defunct" container; for example, a container that you wanted to remove but was only partially removed because resources were kept busy by an external process. Dead containers cannot be (re)started, only removed. You can manually attempt to remove a dead container (if the problem causing it to not be removed in the first attempt failed), and the daemon will automatically attempt to remove dead containers when it's restarted.

@sam-thibault
Copy link
Contributor

Just a note that because our docs are published from the release branch, the new status descriptions won’t be published until it’s in a release branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants