Skip to content

Commit

Permalink
Add the all option to kill command
Browse files Browse the repository at this point in the history
Signed-off-by: utam0k <k0ma@utam0k.jp>
  • Loading branch information
utam0k committed Mar 22, 2023
1 parent 9067ce6 commit abe723e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,14 @@ This operation MUST run the user-specified program as specified by [`process`](c
This operation MUST generate an error if `process` was not set.

### <a name="runtimeKill" />Kill
`kill <container-id> <signal>`
`kill <container-id> <signal> <all>`

This operation MUST [generate an error](#errors) if it is not provided the container ID.
Attempting to send a signal to a container that is neither [`created` nor `running`](#state) MUST have no effect on the container and MUST [generate an error](#errors).
This operation MUST send the specified signal to the container process.

`<all>` is a boolean. If it is true, all the processes in the container are be killed.

### <a name="runtimeDelete" />Delete
`delete <container-id>`

Expand Down

0 comments on commit abe723e

Please sign in to comment.