Class DockerEnvironmentFactory
java.lang.Object
org.apache.beam.runners.fnexecution.environment.DockerEnvironmentFactory
- All Implemented Interfaces:
 EnvironmentFactory
An 
EnvironmentFactory that creates docker containers by shelling out to docker. Returned
 RemoteEnvironments own their respective docker containers. Not
 thread-safe.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvider for DockerEnvironmentFactory. - 
Method Summary
Modifier and TypeMethodDescriptioncreateEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) Creates a new, activeRemoteEnvironmentbacked by a local Docker container. 
- 
Method Details
- 
createEnvironment
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) throws Exception Creates a new, activeRemoteEnvironmentbacked by a local Docker container.- Specified by:
 createEnvironmentin interfaceEnvironmentFactory- Throws:
 Exception
 
 -