nemo_gym.sandbox.adapters.docker_compose
nemo_gym.sandbox.adapters.docker_compose
Run Compose services through the sandbox API.
Input YAML is resolved upstream; unsupported runtime semantics are rejected before provisioning services.
Module Contents
Classes
Functions
API
Start services from a Compose YAML file and own their sandbox lifecycle.
Deployment settings stay in the provider and optional service_specs.
Compose fields override the corresponding spec fields.
Connect to all members without provisioning or restarting services.
Like AsyncSandbox.connect, stop() closes the connected sandboxes using provider semantics. The creator retains ownership of managed-volume cleanup and running service/forwarding tasks and must also call stop().
Describe a running collection using provider connection descriptors.
The creating process must keep the collection alive: it owns service and forwarding tasks and managed-volume cleanup. Provider configuration and YAML are not included.