Uses of Class
io.agentscope.harness.agent.sandbox.impl.docker.DockerSandboxClientOptions
Packages that use DockerSandboxClientOptions
-
Uses of DockerSandboxClientOptions in io.agentscope.harness.agent.sandbox.impl.docker
Methods in io.agentscope.harness.agent.sandbox.impl.docker that return DockerSandboxClientOptionsModifier and TypeMethodDescriptionDockerSandboxClientOptions.additionalRunArgs(String... additionalRunArgs) Appends additional raw arguments todocker runbefore the image name.Sets the CPU count limit.DockerSandboxClientOptions.exposedPorts(int... exposedPorts) Sets the host ports to expose from the container.Sets the Docker image name.DockerSandboxClientOptions.memorySizeBytes(Long memorySizeBytes) Sets the memory limit in bytes.Sets the docker network mode or network name.DockerSandboxClientOptions.workspaceRoot(String workspaceRoot) Sets the workspace root path inside the container.Methods in io.agentscope.harness.agent.sandbox.impl.docker that return types with arguments of type DockerSandboxClientOptionsModifier and TypeMethodDescriptionDockerSandboxClientOptions.createClient()Creates aDockerSandboxClientfor these options.Methods in io.agentscope.harness.agent.sandbox.impl.docker with parameters of type DockerSandboxClientOptionsModifier and TypeMethodDescriptionDockerSandboxClient.create(WorkspaceSpec workspaceSpec, SandboxSnapshotSpec snapshotSpec, DockerSandboxClientOptions options)