github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/runc/man/runc-delete.8.md (about)

     1  # NAME
     2     runc delete - delete any resources held by one or more containers often used with detached containers
     3  
     4  # SYNOPSIS
     5     runc delete [command options] <container-id> [container-id...]
     6  
     7  Where "<container-id>" is the name for the instance of the container.
     8  
     9  # OPTIONS
    10     --force, -f		Forcibly deletes the container if it is still running (uses SIGKILL)
    11  
    12  # EXAMPLE
    13  For example, if the container id is "ubuntu01" and runc list currently shows the
    14  status of "ubuntu01" as "stopped" the following will delete resources held for
    15  "ubuntu01" removing "ubuntu01" from the runc list of containers:  
    16  
    17         # runc delete ubuntu01