From 936ca1b78dd0aeef9724733303408565954b99e9 Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Thu, 25 Jun 2015 16:26:31 -0700 Subject: [PATCH] Update usage content and fix typos 1. Remove mention of nsinit (removed from the repo) 2. Make basic usage text a bit more informative; fix typo 3. Fix typo in panic() message (that should never be seen) :) Docker-DCO-1.1-Signed-off-by: Phil Estes (github: estesp) --- main.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index e125fde7..dae41596 100644 --- a/main.go +++ b/main.go @@ -13,13 +13,16 @@ import ( const ( version = "0.1" - usage = `open container runtime + usage = `Open Container Project runtime + +runc is a command line client for running applications packaged according to the Open Container Format (OCF) and is +a compliant implementation of the Open Container Project specification. runc integrates well with existing process supervisors to provide a production container runtime environment for -applications. It can be used with your existing process monitoring tools and the container will be spawned as direct -child of the process supervisor. nsinit can be used to manage the lifetime of a single container. +applications. It can be used with your existing process monitoring tools and the container will be spawned as a direct +child of the process supervisor. -Execute a simple container in your shell by running: +After creating a spec for your root filesystem with runc, you can execute a simple container in your shell by running: cd /mycontainer runc @@ -34,7 +37,7 @@ func init() { if err := factory.StartInitialization(); err != nil { fatal(err) } - panic("--this line should never been executed, congradulations--") + panic("--this line should never been executed, congratulations--") } }