2015-06-25 08:15:48 +08:00
|
|
|
# Runtime and Lifecycle
|
2015-06-06 08:39:27 +08:00
|
|
|
|
2015-06-25 08:15:48 +08:00
|
|
|
## Lifecycle
|
2015-06-06 08:39:27 +08:00
|
|
|
|
2015-06-25 08:15:48 +08:00
|
|
|
### Create
|
2015-06-17 09:08:14 +08:00
|
|
|
|
|
|
|
Creates the container: file system, namespaces, cgroups, capabilities.
|
|
|
|
|
2015-06-25 08:15:48 +08:00
|
|
|
### Start (process)
|
2015-06-17 09:08:14 +08:00
|
|
|
|
|
|
|
Runs a process in a container. Can be invoked several times.
|
|
|
|
|
2015-06-25 08:15:48 +08:00
|
|
|
### Stop (process)
|
2015-06-17 09:08:14 +08:00
|
|
|
|
|
|
|
Not sure we need that from oc cli. Process is killed from the outside.
|
|
|
|
|
|
|
|
This event needs to be captured by oc to run onstop event handlers.
|