Skip to content

Commit abe723e

Browse files
committed
Add the all option to kill command
Signed-off-by: utam0k <[email protected]>
1 parent 9067ce6 commit abe723e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtime.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,14 @@ This operation MUST run the user-specified program as specified by [`process`](c
129129
This operation MUST generate an error if `process` was not set.
130130

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

134134
This operation MUST [generate an error](#errors) if it is not provided the container ID.
135135
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).
136136
This operation MUST send the specified signal to the container process.
137137

138+
`<all>` is a boolean. If it is true, all the processes in the container are be killed.
139+
138140
### <a name="runtimeDelete" />Delete
139141
`delete <container-id>`
140142

0 commit comments

Comments
 (0)