container_restart
Stop a container and start it again in a single call.
Instructions
Restart a container: stop then start again in one call.
The container receives its configured stop signal (STOPSIGNAL, default SIGTERM), SIGKILL
after stop_timeout_seconds, and is then started. Use container_stop/container_start to do
the halves separately. When the server runs containerized it refuses to restart its own
container.
args: id_or_name - The container id or name stop_timeout_seconds - Seconds between the stop signal and SIGKILL (default 10) returns: dict - The container's full inspect payload after the restart
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes | ||
| stop_timeout_seconds | No |