docker_exec_kill
Terminate background Docker exec jobs by sending signals like SIGTERM or SIGKILL, with optional cleanup of associated log directories.
Instructions
Send a signal to a background job started with docker_exec background=true. Optionally remove the job log directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by docker_exec background=true. | |
| signal | No | Signal name or number to send to the process group (e.g. SIGTERM, SIGKILL). | SIGTERM |
| cleanup | No | Remove the job log directory after signaling. |