update the command usage of `runc`

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
This commit is contained in:
Lai Jiangshan 2015-09-16 09:45:57 +08:00
parent 4ab132458f
commit ac56948250
1 changed files with 4 additions and 7 deletions

11
main.go
View File

@ -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 existing process monitoring tools and the container will be spawned as a
direct child of the process supervisor. 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: container in your shell by running:
# cd /mycontainer # cd /mycontainer
# runc start # runc start [ -c spec-config-file ] [ -r runtime-config-file ]
or If not specified, the default value for the 'spec-config-file' is 'config.json',
# cd /mycontainer and the default value for the 'runtime-config-file' is 'runtime.json'.`
# runc start [ spec-file ]
If not specified, the default value for the 'spec-file' is 'config.json'. `
) )
func main() { func main() {