container_kill
Force-kill a running container or send any signal (default SIGKILL) to debug unresponsive processes, reload configs via SIGHUP, or stop containers that ignore container_stop.
Instructions
Send a signal to a running container (default SIGKILL - immediate, no graceful shutdown).
Use it to force-kill a container that ignores container_stop, or with signal to poke a
process without stopping it (e.g. SIGHUP for a config reload). For a normal shutdown prefer
container_stop, which sends the container's configured stop signal first. Fails with a
conflict error if the container is not running. When the server runs containerized it refuses
to signal its own container.
Args: signal: Signal name or number as a string (e.g. "SIGHUP", "9"); default SIGKILL
Returns: dict: The container's full inspect payload after the signal
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | No | ||
| id_or_name | Yes |