container_kill
Send a signal to a running container, defaulting to SIGKILL for immediate termination. Use to force-kill unresponsive containers or trigger actions like config reloads with SIGHUP.
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: id_or_name - The container id or name signal - Signal name or number as a string (e.g. "SIGHUP", "9"); default SIGKILL returns: dict - The container's attrs after the signal
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | No | ||
| id_or_name | Yes |