Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: Minor style cleanup (drop sh highlighting and add example headers) #15

Merged
merged 2 commits into from
Jul 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ 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:
```sh
#### Example

```
$ funC version
funC 1.0.0
Built for x86_64-pc-linux-gnu
Expand All @@ -58,8 +59,9 @@ 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:
```sh
#### Example

```
# in a bundle directory with a process that echos "hello" and exits 42
$ funC start --id hello-1
hello
Expand Down