container_restart
Restart Docker containers with a configurable stop timeout to ensure graceful shutdown before force killing.
Instructions
Restart a container.
args: id_or_name - The container id or name stop_timeout_seconds - Seconds to wait for graceful stop before SIGKILL and restart returns: dict - The container's attrs after restart
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes | ||
| stop_timeout_seconds | No |