From ac569482503b9f9a2951f0be426de2764f737438 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Wed, 16 Sep 2015 09:45:57 +0800 Subject: [PATCH] update the command usage of `runc` Signed-off-by: Lai Jiangshan --- main.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/main.go b/main.go index 33a86fc52..0c12a3568 100644 --- a/main.go +++ b/main.go @@ -21,17 +21,14 @@ 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 +After creating config files for your root filesystem with runc, you can execute a container in your shell by running: # cd /mycontainer - # runc start + # runc start [ -c spec-config-file ] [ -r runtime-config-file ] -or - # cd /mycontainer - # runc start [ spec-file ] - -If not specified, the default value for the 'spec-file' is 'config.json'. ` +If not specified, the default value for the 'spec-config-file' is 'config.json', +and the default value for the 'runtime-config-file' is 'runtime.json'.` ) func main() {