update the man for runc delete command

This patch also change the description in delete.go in order to
keep consistent with the mannual.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
Wang Long
2016-10-18 09:45:27 +08:00
parent 0259c00a35
commit ed6c5c038c
2 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -1,11 +1,14 @@
# NAME
runc delete - delete any resources held by the container often used with detached containers
runc delete - delete any resources held by one or more containers often used with detached containers
# SYNOPSIS
runc delete <container-id>
runc delete [command options] <container-id> [container-id...]
Where "<container-id>" is the name for the instance of the container.
# OPTIONS
--force, -f Forcibly deletes the container if it is still running (uses SIGKILL)
# 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