LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithsandboxCreateSnapshotOptions
Interface●Since v0.8

CreateSnapshotOptions

Copy
interface CreateSnapshotOptions

Properties

View source on GitHub
property
registryId: string
property
runConfig: RunConfig
property
signal: AbortSignal
property
timeout: number

Options for creating a snapshot from a Docker image.

Private registry ID.

Override the Docker image's USER, WORKDIR and ENV for sandboxes built from this snapshot: user and work_dir replace the image's, env_vars merge over it key by key. Omitting it adopts the image's own configuration. Pass { user: "0" } to keep running as root.

AbortSignal for cancellation.

Timeout in seconds when waiting for ready. Default: 60.