README.md

whaler

Travis build
status Lifecycle:
experimental

whaler is a package for interfacing with Docker from R.

Installation

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("uncoast-unconf/whaler")

Usage

There are a few basic commands that are analagous to their Docker CLI counterparts:

library(whaler)

# Generate Empty Dockerfile
dockerfile() 

# Generate empty Dockerfile and populate
 mydockerfile <- dockerfile() %>%
  set_from("debian:stretch") %>%
  set_run() %>%
  set_label() %>%
  set_env() %>%
  set_expost() 

# Write Dockerfile 
write_dockerfile(mydocker)

Todo

In the dockerfile generation, we sill need set_* functions for:

And we have set_* functions for:



uncoast-unconf/whaler documentation built on Oct. 31, 2020, 9:10 p.m.