nvflare.lighter.impl.docker_launcher module

class DockerLauncherBuilder(docker_image='nvflare-docker:0.0.1', base_image='python:3.8', requirements_file='requirements.txt')[source]

Bases: Builder

DockerLauncherBuilder is used for generating the docker build command and service startup command for using the DockerJobLauncher as the job launcher (both server and client).

Build docker compose file.

build(project: Project, ctx: ProvisionContext)[source]
initialize(project: Project, ctx: ProvisionContext)[source]