There is a lot going on with R and Docker. It seems to me that it is widely used especially in a development workflow for testing. It is also used for reproductible reseach, for in R in production...
Here are some useful ressources that could help :
-
A blog post on R developpement with docker for testing
http://www.jimhester.com/2017/10/13/docker/ -
Another blog post on beggining with travis that use docker in the background
https://juliasilge.com/blog/beginners-guide-to-travis/ -
The most important to know is the rocker project where you'll find some containers with R in different configuration
https://github.com/rocker-org
https://hub.docker.com/u/rocker/
http://dirk.eddelbuettel.com/papers/r_and_docker_sep2014.pdf
http://dirk.eddelbuettel.com/blog/2014/10/23/ -
This initiative for reproductible research comes with way to genererate dockerfile automatically and lot of good ressources
http://o2r.info/2017/05/30/containerit-package/ -
Others ressources on reproductible research
https://benmarwick.github.io/UW-eScience-docker-for-reproducible-research/#1 -
If you search a little, you'll find some case where docker is used for shiny apps
https://github.com/cole-brokamp/rize
https://www.shinyproxy.io/deploying-apps/#write-a-dockerfile -
... or for rmarkdown documents
https://liftr.me/
A trick I use sometimes to find use-case and example : Search github for keyword filtering on the R language.
27 pages of result if you do that for Docker and R language