runc/runtime.md

18 lines
370 B
Markdown
Raw Normal View History

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