restart_container
Restart a Docker container by ID or name, with an optional timeout before force restart.
Instructions
Restart a container.
args: id_or_name - The container id or name timeout - Seconds to wait before forcing restart returns: dict - The container's attrs after restart
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| id_or_name | Yes |