use the lifecycle states to define the hooks#250
use the lifecycle states to define the hooks#250laijs wants to merge 1 commit intoopencontainers:masterfrom
Conversation
|
Lifecycle modification is on going in #231 , this PR needs to be hold on. |
|
The intention of this pr is, as its title said, using the lifecycle states to define the hooks. |
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
37b8a20 to
bcd1738
Compare
|
This looks fine for the most part. The switch from "exits" -> "stopped" seems to imply the hooks may get triggered before the container has fully ended. Like if the pid(s) are sent signals to terminate, but they hang in a Wait state, would the hooks still get called? |
|
This PR is too confusing. "container is started" is confusing: the only way it has meaning is if we agree on a term that isn't "container" for the application process. |
|
#231 is merged. Please update. |
No description provided.