set_restart_policy
Update a running container's restart policy (no, always, unless-stopped, on-failure) without recreating it.
Instructions
Change the restart policy of a running container without recreating it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | Container ID or name | |
| policy | Yes | Restart policy | |
| max_retry_count | No | Max retry count for on-failure (default: 0) |