Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / DockerSandboxOptions
Interface: DockerSandboxOptions
Defined in: packages/security/src/sandbox/docker.ts:74
Options for createDockerSandbox(...).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
defaultTimeoutMs? | readonly | number | Default wall-clock timeout (ms). Defaults to 30000. | packages/security/src/sandbox/docker.ts:86 |
image? | readonly | string | Container image. Defaults to a no-op stub the operator must override; the framework deliberately does not ship an image. | packages/security/src/sandbox/docker.ts:79 |
memoryLimitMb? | readonly | number | Memory limit (MB). Defaults to 512. | packages/security/src/sandbox/docker.ts:88 |
peerLoader? | readonly | () => Promise<DockerodeModule> | Override the peer-dep loader. Tests inject a stub here. | packages/security/src/sandbox/docker.ts:92 |
socketPath? | readonly | string | Hostname for the Docker daemon socket. Forwarded to new Dockerode({ socketPath }). Defaults to the platform default. | packages/security/src/sandbox/docker.ts:84 |