From 88de2aee5ac86a68d68b032b1fb2c4e5b88a738f Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Sat, 8 Aug 2015 06:32:30 -0700 Subject: [PATCH] Minor update to usage/help text Seemed a little out of date Signed-off-by: Doug Davis --- README.md | 2 +- main.go | 22 +++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f0c88a4b8..e7b30eeda 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ PID USER COMMAND Below is a sample `config.json` configuration file. It assumes that the file-system is found in a directory called `rootfs` and there is a -user named `daemon` defined within that file-system. +user with uid and gid of `0` defined within that file-system. ```json { diff --git a/main.go b/main.go index c05198d18..1118fa521 100644 --- a/main.go +++ b/main.go @@ -9,20 +9,24 @@ import ( const ( version = "0.2" - usage = `Open Container Project runtime + usage = `Open Container Initiative 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 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 Initiative 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 a direct -child of the process supervisor. +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 a +direct child of the process supervisor. -After creating a spec for your root filesystem with runc, you can execute a simple container in your shell by running: +After creating a spec for your root filesystem with runc, you can execute a +container in your shell by running: cd /mycontainer - runc -` + runc [ spec-file ] + +If not specified, the default value for the 'spec-file' is 'config.json'. ` ) func main() {