Skip to content

Docker images based on various Rocker images and with various packages pre-installed (rJava, JDK11, Drat, Packrat, etc).

License

Notifications You must be signed in to change notification settings

thospfuller/rockstar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rockstar: A Rocker RStudio image preconfigured with rJava, OpenJDK Java 11, and other packages.

License LinkedIn Twitter GitHub Email Coherent Logic Limited

The Rockstar RStudio Dockerfile inherits from rocker/rstudio and contains the following:

Note also that the rstudio user has been added to the sudo group.

Rockstar is used by the RCOBOLDI (R COBOL Data Integration) Package, which is an R package for importing COBOL CopyBook data into the R Project as data frames.

Rockstar can also be helpful for data scientists or data engineers who need to use R with rJava. The rJava package can be slightly involved to set up and the Rockstar RStudio Dockerfile will help you get past this. The Rockstar RStudio Dockerfile can also act as a referece for engineers that need to configure rJava with a JDK or JRE.

The Rockstar project can be found on GitHub and Rockstar images can be found on DockerHub. Below we include instructions for installing the Rockstar RStudio image and then creating a container from this image.

docker pull thospfuller/rockstar-rstudio:[latest or 1.0.0 or some other tag]

then

docker image ls

should show something like this:

> REPOSITORY                     TAG                 IMAGE ID            CREATED             SIZE
> thospfuller/rockstar-rstudio   latest              f8c59f41e2d7        41 minutes ago      3.16GB

then

docker run -d -p 8787:8787 -e PASSWORD=password --name rstudio -i -t f8c59f41e2d7

Next, browse to http://localhost:8787 and enter the username 'rstudio' and password 'password' and you should see the following.

An example of a container created from the Rockstar RStudio docker image running on localhost:8787.

An example of a container created from the Rockstar RStudio docker image running on localhost:8787.

Finally, command line access to the Rockstar RStudio container can be acquired via the example below -- refer to the image for additional details.

docker exec -it 2a0889cea66f /bin/bash

An example of obtaining shell access to a running Rockstar RStudio container.

An example of obtaining shell access to a running Rockstar RStudio container.