Skip to content

Instantly share code, notes, and snippets.

@julz
Last active September 15, 2015 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save julz/359740faa210b6ce48c9 to your computer and use it in GitHub Desktop.
Save julz/359740faa210b6ce48c9 to your computer and use it in GitHub Desktop.
Example Runtime Spec

Operations:

The command line should support each operation listed below as its first argument. It operates by default on the 'config.json' in the current directory.

Start

Starts a container from a bundle directory.

Flags: none. Output: The process output is printed to stdout and stderr, and the process exits with the delegate process exit code.

Example:

 # in a bundle directory with a process that echos "hello" and exits 42
 $ funC start
 hello
 
 $ echo $?
 42

Stop

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment