Skip to content

Commit

Permalink
lifecycle: Drop 'Runtime and Lifecycle' top heading
Browse files Browse the repository at this point in the history
This page is just about the lifecycle now.  I'm not sure what the
original intention was, but when this header landed in runtime.md with
5d2eb18 (*: re-org the spec, 2015-06-24) there wasn't anything beyond
the lifecycle stuff in this file.  Now that it's lifecycle.md and
there are other files for our other content, I don't expect it to talk
about anything besides the lifecycle in the future.

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Aug 30, 2015
1 parent 07e052f commit e22af5d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lifecycle.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Runtime and Lifecycle

## Lifecycle
# Lifecycle

A typical lifecyle progresses like this:

Expand All @@ -22,23 +20,23 @@ With steps 8 and 9, the user is explicitly stopping the application
(via the runtime), but it's also possible that the application could
exit for other reasons. In that case we skip directly from 7 to 10.

### Create
## Create

Creates the container: file system, namespaces, cgroups, capabilities.

### Start (process)
## Start (process)

Runs a process in a container. Can be invoked several times.
On Linux hosts, some information for this execution may come from outside the [`config.json`](config.md) and [`runtime.json`](runtime.md) specifications.
See [the Linux-specific notes](lifecycle-linux.md#start-process) for details.

### Stop (process)
## Stop (process)

Not sure we need that from runc cli. Process is killed from the outside.

This event needs to be captured by runc to run onstop event handlers.

### Destroy
## Destroy

Remove the container: unmount file systems, remove namespaces, etc.
This is the inverse of [create](#create).

0 comments on commit e22af5d

Please sign in to comment.