Skip to content

Graphorin API reference v0.12.1


Graphorin API reference / @graphorin/security / / DockerSandboxOptions

Interface: DockerSandboxOptions

Defined in: packages/security/src/sandbox/docker.ts:75

Options for createDockerSandbox(...).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
defaultTimeoutMs?readonlynumberDefault wall-clock timeout (ms). Defaults to 30000.packages/security/src/sandbox/docker.ts:87
image?readonlystringContainer 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:80
memoryLimitMb?readonlynumberMemory limit (MB). Defaults to 512.packages/security/src/sandbox/docker.ts:89
peerLoader?readonly() => Promise<DockerodeModule>Override the peer-dep loader. Tests inject a stub here.packages/security/src/sandbox/docker.ts:93
socketPath?readonlystringHostname for the Docker daemon socket. Forwarded to new Dockerode({ socketPath }). Defaults to the platform default.packages/security/src/sandbox/docker.ts:85