update the command usage of `runc`
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
This commit is contained in:
parent
4ab132458f
commit
ac56948250
11
main.go
11
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
|
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() {
|
||||||
|
|
Loading…
Reference in New Issue