configServerContainerEnv {DockerParallel}R Documentation

Configurate the server container environment

Description

Configurate the server container environment. Developers can use this function to set the server password, port number and etc. via the container environment variable. The server info can be found by the getter function with the prefix .getServer (e.g. .getServerPassword(cluster)). The developer must calls container$copy() before setting the server environment. The user provided environment variables should be respected and overwritten only when necessary. There is no default method for this generic.

Usage

configServerContainerEnv(container, cluster, verbose)

## S4 method for signature 'DummyContainer'
configServerContainerEnv(container, cluster, verbose = FALSE)

Arguments

container

Reference Container Object. The server container.

cluster

S4 DockerCluster object.

verbose

Integer. The verbose level, default 1.

Value

An object which has the same class as container

Functions


[Package DockerParallel version 1.0.4 Index]