In this awesome 8-minute read, R-progidy Colin Fay explains in laymen’s terms what Docker images, Docker containers, and Volumes are; what Rocker is; and how to set up a Docker container with an R image and run code on it:
On your machine, you’re going to need two things: images, and containers. Images are the definition of the OS, while the containers are the actual running instances of the images. […] To compare with R, this is the same principle as installing vs loading a package: a package is to be downloaded once, while it has to be launched every time you need it. And a package can be launched in several R sessions at the same time easily.
Colin Fay, via https://colinfay.me/docker-r-reproducibility
In his blog, Colin also refers to some great additional resources on Rocker/Docker…
- rocker official website
- An Introduction to Rocker: Docker Containers for R
- Noam Ross – Docker for the UseR
- Production-ready R: Getting started with R and docker
- Applications with R and Docker
- Docker for beginners
… as well as reading list for those interested in learning more about Docker: