Exemplo n.º 1
0
 internal DockerRunspaceProvider(
     RunspaceContainerCreateSpec runspaceContainerCreateSpec,
     string dockerEngineEndpointBasePath,
     IContainerApi containerApi,
     bool testConnectionToContainerOnCreate)
 {
     _containerApi = containerApi ?? CreateDefaultContainerApi(dockerEngineEndpointBasePath);
     _runspaceContainerCreateSpec       = runspaceContainerCreateSpec;
     _testConnectionToContainerOnCreate = testConnectionToContainerOnCreate;
 }
Exemplo n.º 2
0
 public DockerRunspaceProvider(
     RunspaceContainerCreateSpec runspaceContainerCreateSpec,
     string dockerEngineEndpointBasePath) :
     this(runspaceContainerCreateSpec, dockerEngineEndpointBasePath, null, true)
 {
 }