recreate_container
Apply configuration changes by recreating a Docker container: stops, removes, and re-creates it with the same configuration.
Instructions
Recreate a container with the same configuration (stop, remove, re-create). Useful for applying config changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | Container ID or name | |
| timeout | No | Seconds to wait before killing (default: 10) |