Rulvar API reference / @rulvar/executor / containerExecutor
Function: containerExecutor()
ts
function containerExecutor(options): ToolExecutorProvider;Defined in: packages/executor/src/container.ts:97
Builds a container ToolExecutorProvider over a docker-compatible CLI. Register it as createEngine({ executors: { container: containerExecutor({ image }) } }); tools declaring executor: 'container' dispatch through it. Define such tools with subprocessTool and set executor to 'container', or hand-build a ToolDef.
Parameters
| Parameter | Type |
|---|---|
options | ContainerExecutorOptions |