Skip to content

Documentation / @agentick/sandbox-docker / DockerProviderConfig

Interface: DockerProviderConfig ​

Defined in: provider.ts:14

Properties ​

cleanupContainers? ​

optional cleanupContainers: boolean

Defined in: provider.ts:28

Remove containers on destroy. Default: true.


cleanupVolumes? ​

optional cleanupVolumes: boolean

Defined in: provider.ts:31

Remove volumes on destroy. Default: true.


image? ​

optional image: string

Defined in: provider.ts:16

Docker image. Default: "node:22-slim".


labels? ​

optional labels: Record<string, string>

Defined in: provider.ts:34

Labels to apply to containers and volumes.


networkMode? ​

optional networkMode: string

Defined in: provider.ts:25

Docker network mode when net is false. Default: "none".


socketPath? ​

optional socketPath: string

Defined in: provider.ts:19

Docker socket path. Default: "/var/run/docker.sock".


workspacePath? ​

optional workspacePath: string

Defined in: provider.ts:22

Workspace path inside the container. Default: "/workspace".

Released under the ISC License.