container_restart
Restart a WSL container by stopping and starting it, since wslc has no native restart command.
Instructions
Restart a WSL container. Since wslc has no native restart command, this stops then starts the container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Seconds to wait before killing on stop (default: 5) | |
| signal | No | Signal to send on stop (e.g. SIGTERM) | |
| containerId | Yes | Container ID or name |