Docker Support

fitzRoy now provides Docker support in the form of an image hosted on DockerHub.

Usage

Once you have the images, (e.g. docker pull jimmyday12/fitzroy:latest) run one of the following commands.

  • To start RStudio with Fitzroy ready to use:
    • docker run -d -p 8787:8787 --name fitzroy jimmyday12/fitzroy:latest and open http://localhost:8787. *(Username: rstudio, Password: rstudio)
  • To start an R terminal prompt with fitzRoy ready to use:
    • docker run -it jimmyday12/fitzroy:latest R to start with an R terminal prompt.
    • Run quit() to exit the container

Building the image locally

To build the Docker image run the following from the root of the repository.

  • docker build -t jimmyday12/fitzroy:latest -f docker/rstudio/Dockerfile .