pub async fn stop_service(
client: &DockerClient,
remove: bool,
timeout_secs: Option<i64>,
) -> Result<(), DockerError>Expand description
Stop and optionally remove the opencode container
ยงArguments
client- Docker clientremove- Also remove the container after stoppingtimeout_secs- Graceful shutdown timeout (default: 30 seconds)