sparkler.start: Start a docker with Sparkler

Description Usage Arguments Details Examples

View source: R/sparkler.R

Description

Start a docker with Sparkler

Usage

1

Arguments

vm

The Instance object

debug

If TRUE, will see debug messages.

Details

Check if Docker exists and running If not, we create the docker with Sparkler If exists, we restart it

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 

library(RsparkleR)
ovh <- import_ovh()
client <- load_client(ovh,endpoint,application_key,application_secret,consumer_key)

sshPubKeyPath  <- 'C:/Users/vterrasi/.ssh/id_rsa.pub'
sshPrivKeyPath <- 'C:/Users/vterrasi/.ssh/id_rsa'

vm <- sparkler.create(client, regionVM="UK1", typeVM="s1-4", sshPubKeyPath, sshPrivKeyPath)

sparkler.start(vm, debug=FALSE)


## End(Not run)

voltek62/RsparkleR documentation built on May 19, 2019, 1:48 a.m.