File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ func killContainer(container libcontainer.Container) error {
2727
2828var deleteCommand = cli.Command {
2929 Name : "delete" ,
30- Usage : "delete any resources held by one container or more containers often used with detached containers" ,
31- ArgsUsage : `container-id [container-id...]
30+ Usage : "delete any resources held by one or more containers often used with detached containers" ,
31+ ArgsUsage : `< container-id> [container-id...]
3232
3333Where "<container-id>" is the name for the instance of the container.
3434
@@ -41,7 +41,7 @@ status of "ubuntu01" as "stopped" the following will delete resources held for
4141 Flags : []cli.Flag {
4242 cli.BoolFlag {
4343 Name : "force, f" ,
44- Usage : "Forcibly kills the container if it is still running" ,
44+ Usage : "Forcibly deletes the container if it is still running (uses SIGKILL) " ,
4545 },
4646 },
4747 Action : func (context * cli.Context ) error {
Original file line number Diff line number Diff line change 11# NAME
2- runc delete - delete any resources held by the container often used with detached containers
2+ runc delete - delete any resources held by one or more containers often used with detached containers
33
44# SYNOPSIS
5- runc delete <container-id >
5+ runc delete [ command options ] <container-id > [ container-id... ]
66
77Where "<container-id >" is the name for the instance of the container.
88
9+ # OPTIONS
10+ --force, -f Forcibly deletes the container if it is still running (uses SIGKILL)
11+
912# EXAMPLE
1013For example, if the container id is "ubuntu01" and runc list currently shows the
1114status of "ubuntu01" as "destroyed" the following will delete resources held for
You can’t perform that action at this time.
0 commit comments