runc/man/runc-delete.8.md

626 B

NAME

runc delete - delete any resources held by one or more containers often used with detached containers

SYNOPSIS

runc delete [command options] [container-id...]

Where "" 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 "stopped" the following will delete resources held for "ubuntu01" removing "ubuntu01" from the runc list of containers:

   # runc delete ubuntu01