produce.dockerfile: Produce a Docker image for Jupyter notebook.

Description Usage Arguments Details

Description

produce.dockerfile generates a Dockerfile which can be used to build a Docker image for running Jupyter notebook in Docker without the local installation of Jupyter notebook

Usage

1

Arguments

vignette

Name of the Jupyter notebook file. Absolute path has to be prepended if the notebook is not in R working directory.

Details

The function scans the Jupyter notebook for R package dependencies and produces a script packages.R for installing these R packages in the Docker image.

The Docker image is built from the generated Dockerfile, which is written in the same directory as the Jupyter notebook. In order to build a Docker image for running the vignette you don't need IPython Notebook installed on your machine. If you installed Docker, simply run in command line

$ docker build -t imagename .

in the same directory as the Dockerfile. After building the Docker image for your Jupyter notebook, check the operating system-specific commands for running Jupyter notebooks in Docker containers on the following web page https://hub.docker.com/r/vladkim/rnaseq/


vladchimescu/RdocsJupyter documentation built on May 3, 2019, 6:15 p.m.