diff --git a/delete.go b/delete.go index e97516692..17d5c2fa7 100644 --- a/delete.go +++ b/delete.go @@ -16,7 +16,8 @@ var deleteCommand = cli.Command{ ArgsUsage: ` Where "" is the name for the instance of the container. - + +EXAMPLE: For example, if the container id is "ubuntu01" and runc list currently shows the status of "ubuntu01" as "destroyed" the following will delete resources held for "ubuntu01" removing "ubuntu01" from the runc list of containers: diff --git a/exec.go b/exec.go index d4ca62744..11cfceff4 100644 --- a/exec.go +++ b/exec.go @@ -22,6 +22,7 @@ var execCommand = cli.Command{ Where "" is the name for the instance of the container and "" is the command to be executed in the container. +EXAMPLE: For example, if the container is configured to run the linux ps command the following will output a list of processes running in the container: diff --git a/kill.go b/kill.go index 104354d80..e311bedd3 100644 --- a/kill.go +++ b/kill.go @@ -56,7 +56,8 @@ var killCommand = cli.Command{ Where "" is the name for the instance of the container and "" is the signal to be sent to the init process. - + +EXAMPLE: For example, if the container id is "ubuntu01" the following will send a "KILL" signal to the init process of the "ubuntu01" container: diff --git a/man/runc-spec.8.md b/man/runc-spec.8.md index 482c8c3a1..831f699a2 100644 --- a/man/runc-spec.8.md +++ b/man/runc-spec.8.md @@ -14,7 +14,7 @@ parameter that is initially set to call the "sh" command when the container is started. Calling "sh" may work for an ubuntu container or busybox, but will not work for containers that do not include the "sh" program. -EXAMPLE: +# EXAMPLE To run docker's hello-world container one needs to set the args parameter in the spec to call hello. This can be done using the sed command or a text editor. The following commands create a bundle for hello-world, change the