Skip to content

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

PropertyModifierTypeDescriptionDefined in
defaultTimeoutMs?readonlynumberDefault wall-clock timeout (ms). Defaults to 30000.packages/security/src/sandbox/docker.ts:86
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:79
memoryLimitMb?readonlynumberMemory 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?readonlystringHostname for the Docker daemon socket. Forwarded to new Dockerode({ socketPath }). Defaults to the platform default.packages/security/src/sandbox/docker.ts:84