Skip to content


Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

Build Status



This repository contains Dockerfiles for different Docker containers of interest to R users.

Getting Started

To get started right away, ensure you have Docker installed and start a container with docker run --rm -ti rocker/r-base (see here for the docker run command options). In this case we are starting the r-base container (the base package to build from) in an interactive mode, see below for details of the other containers currently available. To get started on the rstudio container or its derivative containers (eg. hadleyverse and ropensci) you need to open a port, see the instructions in the wiki. The wiki also contains further instructions and information on the project, including how to extend these images and contribute to development.


This is work in progress; please read our instructions to contributors and talk to @eddelbuettel and @cboettig about how to get involved.

Base Docker Containers

image description size metrics build status
r-base Current R via apt-get with debian:testing & unstable repos
r-devel R-devel added side-by-side onto r-base (using alias RD)
drd lighter r-devel, built not quite daily
r-ver Specify R version in docker tag. Builds on debian:stable

Use cases

The rocker project also hosts Docker images illustrating particular use cases. More information about these can be found in their respective respositories on rocker-org

Unversioned images (builds on r-base)

image description size metrics build status
r-devel-san as r-devel, but built with compiler sanitizers
r-devel-ubsan-clang Sanitizers, clang c compiler (instead of gcc)
rstudio:testing rstudio on debian:testing
shiny shiny-server on r-base
r-apt (R plus CRAN + marutter repo information)

Versioned stack (builds on r-ver)

These images build on rocker/r-ver. Each of these include tags to specify the desired version of R, e.g :4.0.0, :latest, :devel. See rocker-versioned2 repo for details. R 3.x versions are built from the older recipes in rocker-versioned

image description size metrics build status
rstudio Adds rstudio
tidyverse Adds tidyverse & devtools
verse Adds tex & publishing-related packages
geospatial Adds geospatial libraries

Anyone interested in proposing or collaborating on additional use cases should read our guide to contributing and get in touch


The Dockerfiles in this repository are licensed under the GPL 2 or later.


RStudio is a registered trademark of RStudio, Inc. The use of the trademarked term RStudio and the distribution of the RStudio binaries through the images hosted on has been granted by explicit permission of RStudio. Please review RStudio's trademark use policy and address inquiries about further distribution or other questions to