docker_launch.launch¶
Start, watch and terminate distributed containers.
Most of launch functionalities involve network communications, so they are run concurrently in multi-threads.
- class Containers(config_path)[source]¶
Bases:
object
- Parameters
config_path (Union[PathLike, str]) –
- Return type
None
- property config: Dict[Hashable, List[Dict[Literal['image', 'cmd', 'machine'], str]]]¶
- launch_containers(config_path, **kwargs)¶
Launch containers described in config_path.
Warning
To stop all the containers, press Ctrl+C. Killing the process will leave the launched containers unmanaged.
- Parameters
config_path (Union[PathLike, str]) –
- Return type
None