runDockerWorkerContainers {ManagedCloudProvider}R Documentation

Run the worker container

Description

Run the workers and return a character vector of the worker handles. Each handle must correspond to a container. The handle can be duplicated if multiple workers share the same container. There is no default method for this generic.

Usage

runDockerWorkerContainers(
  provider,
  cluster,
  container,
  hardware,
  workerNumber,
  verbose
)

## S4 method for signature 'DummyManagedProvider'
runDockerWorkerContainers(
  provider,
  cluster,
  container,
  hardware,
  workerNumber,
  verbose
)

Arguments

provider

S4 CloudProvider object. The service provider.

cluster

S4 DockerCluster object.

container

S4 DockerContainer Object. The worker container.

hardware

S4 DockerHardware Object. The worker hardware.

workerNumber

Integer. The number of workers needs to be run.

verbose

Integer. The verbose level, default 1.

Value

A character vector with each element corresponding to a worker container. The length must be equal to workerNumber

Functions


[Package ManagedCloudProvider version 1.0.0 Index]