-
Notifications
You must be signed in to change notification settings - Fork 599
Open
Description
The spec defines 4 statuses:
- creating
- created
- running
- stopped
What's happening when a container is created and then the machine is rebooted? Should the container be deleted, or should it be in the "stopped" state?
The spec also defines hooks and each hook receives the state of the container from stdin. What should be the status of the container in each hook?
- prestart hook: I guess the state should be "created"
- poststart hook: I guess the state should be "running"
- poststop: since the hook is called after the container is deleted, the state is not "stopped" anymore but maybe some fantoom "deleted" state?
Could the spec clarify those two points?
Metadata
Metadata
Assignees
Labels
No labels