DockerRunLauncher(inst_data=None, image=None, registry=None, env_vars=None, network=None, networks=None, container_kwargs=None)¶
Launches runs in a Docker container.
image (Optional[str]) – The docker image to be used if the repository does not specify one.
env_vars (Optional[List[str]]) – The list of environment variables names to forward to the docker container.
network (Optional[str]) – Name of the network this container to which to connect the launched container at creation time. DEPRECATED, prefer networks
networks (Optional[List[str]]) – List of networks to which to connect the launched container at creation time.
container_kwargs (Optional[Dict[str, Any]]) – Additional kwargs to pass into containers.create. See https://docker-py.readthedocs.io/en/stable/containers.html for the full list of available options.