Skip to content

Commit

Permalink
runtime: Use headers for examples
Browse files Browse the repository at this point in the history
To provide anchors for linking [1].

[1]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc1/style.md#anchoring

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Jun 22, 2016
1 parent 5664968 commit f827719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Print the runtime version and exit.
* *stderr:* The runtime MAY print diagnostic messages to stderr, and the format for those lines is not specified in this document.
* *Exit code:* The runtime MUST exit with zero.

Example:
#### Example

```
$ funC version
Expand All @@ -59,7 +59,7 @@ Start a container from a bundle directory.
For example, `LISTEN_FDS=2` would mean that the runtime MUST pass file descriptors 3 and 4 to the application process (in addition to the [standard streams][standard-streams]) to support [socket activation][systemd-listen-fds].
* *Exit code:* The runtime MUST exit with the application process's exit code.

Example:
#### Example

```
# in a bundle directory with a process that echos "hello" and exits 42
Expand Down

0 comments on commit f827719

Please sign in to comment.