runDocker: Run docker container

View source: R/runDocker.R

runDockerR Documentation

Run docker container

Description

This is an internal function executing a docker container. Not to be used by users.

Usage

runDocker(group = "docker", params = NULL, DockerSwarm = FALSE)

Arguments

group

a character string. Two options: "sudo" or "docker", depending to which group the user belongs

params

a character string containing all parameters needed to tun the docker container

DockerSwarm

a bolean value used to enable docker execution in swarm mode.

Value

0 if success, 1 if parameters are missing, 2 if the group is neither sudo or docker, 3 if docker execution fails.

Author(s)

Raffaele Calogero

Examples

## Not run: 
    #running runDocker
     runDocker(group="docker", params=NULL)


## End(Not run)

kendomaniac/docker4seq documentation built on Sept. 3, 2024, 6:42 p.m.