Skip to content

qitos.kit.env.docker_env

快速跳转

Classes

Class: DockerCommandCapability(self, container: 'str', workdir: 'str' = '/workspace')

Command execution capability contract used by env implementations.

Class: DockerEnv(self, container: 'Optional[str]' = None, workspace_root: 'str' = '/workspace', *, image: 'Optional[str]' = None, host_workspace: 'Optional[str]' = None, auto_create: 'bool' = False, remove_on_close: 'bool' = False, network: 'Optional[str]' = None, extra_run_args: 'Optional[list[str]]' = None, create_timeout: 'int' = 60)

HostEnv-compatible action interpreter executed inside Docker.

Class: DockerEnvScheduler(self, max_active: 'int' = 1)

Simple bounded scheduler for per-task DockerEnv creation.

Class: DockerFSCapability(self, container: 'str', workdir: 'str' = '/workspace')

Filesystem capability contract used by env implementations.

Functions

Source Index