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

     1  # NAME
     2     runc kill - kill sends the specified signal (default: SIGTERM) to the container's init process
     3  
     4  # SYNOPSIS
     5     runc kill [command options] <container-id> <signal>
     6  
     7  Where "<container-id>" is the name for the instance of the container and
     8  "<signal>" is the signal to be sent to the init process.
     9  
    10  # OPTIONS
    11     --all, -a  send the specified signal to all processes inside the container
    12  
    13  # EXAMPLE
    14  
    15  For example, if the container id is "ubuntu01" the following will send a "KILL"
    16  signal to the init process of the "ubuntu01" container:
    17  
    18         # runc kill ubuntu01 KILL