An introduction to Docker for reproducible research
Open accessThe DOI matches its Crossref record; 22 of the 22 references it cites were found in a registry or an index.
Abstract
As computational work becomes more and more integral to many aspects of scientific research, computational reproducibility has become an issue of increasing importance to computer systems researchers and domain scientists alike. Though computational reproducibility seems more straight forward than replicating physical experiments, the complex and rapidly changing nature of computer environments makes being able to reproduce and extend such work a serious challenge. In this paper, I explore common reasons that code developed for one research project cannot be successfully executed or extended by subsequent researchers. I review current approaches to these issues, including virtual machines and workflow systems, and their limitations. I then examine how the popular emerging technology Docker combines several areas from systems research - such as operating system virtualization, cross-platform portability, modular re-usable elements, versioning, and a 'DevOps' philosophy, to address these challenges. I illustrate this with several examples of Docker use with a focus on the R statistical environment.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“Container technologies such as Docker and Apptainer (formerly known as Singularity) package the full runtime environment together with the code, producing an artifact that another investigator can download and execute years later.11,12”
From Designing reproducible large-language-model-assisted scientific analyses (2026) · cites this paper as [11]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Reproducible research in computational science
Peng, R. D. (2011) · Science · doi:10.1126/science.1213847 · Cited by 1,449 · cited 1×
“An introduction to Docker for reproducible research Carl Boettiger Center for Stock Assessment Research, 110 Sha.er Rd, Santa Cruz, CA 95050, USA cboettig(at)gmail.com ABSTRACT As computational work becomes more and more integral to many aspects of scienti.c research, computational…”
MethodTaverna: a tool for building and running workflows of services
Hull, D., Wolstencroft, K., Stevens, R., Goble, C., Pocock, M. R., Li, P., & Oinn, T. (2006) · Nucleic Acids Research · doi:10.1093/nar/gkl320 · Cited by 943 · cited 1×
“Two dominant paradigms have emerged to address these issues so far: workflow software [1, 13] and virtual machines [5, 12].”
BackgroundDynamic Documents with R and knitr
Xie, Y. (2016) · Chapman & Hall/CRC eBooks · doi:10.1201/b15166 · Cited by 746 · cited 1×
“dynamic documents [17, 22, 26] which embed the code required to re-generate the results within the manuscript.”
BackgroundKepler: An Extensible System for Design and Execution of Scientific Workflows
Altintas, I., Berkley, C., Jaeger, E., Jones, M., Ludäscher, B., & Mock, S. (2004) · Cited by 745
The case for open computer programs
Ince, D. C., Hatton, L., & Graham-Cumming, J. (2012) · Nature · doi:10.1038/nature10836 · Cited by 535
Examining the Challenges of Scientific Workflows
Gil, Y., Deelman, E., Ellisman, M., Fahringer, T., Fox, G., Gannon, D., Goble, C., Livny, M., Moreau, L., & Myers, J. (2007) · Computer · doi:10.1109/mc.2007.421 · Cited by 518 · cited 1×
“Nonetheless, most workflow systems struggle with relatively low total adoption overall [5, 9].”
BackgroundSweave: Dynamic Generation of Statistical Reports Using Literate Data Analysis
Leisch, F. (2002) · Compstat · doi:10.1007/978-3-642-57489-4_89 · Cited by 422 · cited 1×
“dynamic documents [17, 22, 26] which embed the code required to re-generate the results within the manuscript.”
BackgroundPublish your computer code: it is good enough
Barnes, N. (2010) · Nature · doi:10.1038/467753a · Cited by 315
Gilbert, K. J., Andrew, R. L., Bock, D. G., Franklin, M. T., Kane, N. C., Moore, J., Moyers, B. T., Renaut, S., Rennison, D. J., Veen, T., et al. (2012) · Molecular Ecology · doi:10.1111/j.1365-294x.2012.05754.x · Cited by 290
Computational science: ...Error
Merali, Z. (2010) · Nature · doi:10.1038/467775a · Cited by 220 · cited 1×
“All steps of the scientific process, from data collection and processing, to analyses, visualizations and conclusions depend ever more on computation and algorithms, computational reproducibility has received particular attention [18].”
BackgroundTroubling Trends in Scientific Software Use
Joppa, L. N., McInerny, G., Harper, R., Salido, L., Takeda, K., O'Hara, K., Gavaghan, D., & Emmott, S. (2013) · Science · doi:10.1126/science.1231535 · Cited by 189 · cited 1×
“However, researchers face significant barriers to entry in learning these tools and approaches which are not part of their typical curriculum, or lack incentives commensurate with the effort required [7, 15].”
BackgroundIn silico research in the era of cloud computing
Dudley, J. T., & Butte, A. J. (2010) · Nature Biotechnology · doi:10.1038/nbt1110-1181 · Cited by 123 · cited 8×
“To make this practical, Dudley & Butte [5] and Howe [12] both propose using virtual machine images that will run on the cloud, such as Amazon’s EC2 system, which is already based upon this kind of virtualization.”
BackgroundInfluentialQuantifying Reproducibility in Computational Biology: The Case of the Tuberculosis Drugome
Garijo, D., Kinnings, S., Xie, L., Xie, L., Zhang, Y., Bourne, P. E., & Gil, Y. (2013) · PLoS ONE · doi:10.1371/journal.pone.0080278 · Cited by 116
The Scientific Method in Practice: Reproducibility in the Computational Sciences
Stodden, V. (2010) · SSRN Electronic Journal · doi:10.2139/ssrn.1550193 · Cited by 93 · cited 1×
“In so doing, I highlight elements of the Docker platform that should be of interest to both computer systems research and domain scientists.”
Virtual Appliances, Cloud Computing, and Reproducible Research
Howe, B. (2012) · Computing in Science & Engineering · doi:10.1109/mcse.2012.62 · Cited by 80 · cited 7×
“To make this practical, Dudley & Butte [5] and Howe [12] both propose using virtual machine images that will run on the cloud, such as Amazon’s EC2 system, which is already based upon this kind of virtualization.”
BackgroundInfluentialThe Scientific Method in Practice: Reproducibility in the Computational Sciences
Stodden, V. (2010) · SSRN Electronic Journal · doi:10.7916/d8t15bnc · Cited by 73
Ooms, J. C. L. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1406.4806 · Cited by 67 · cited 1×
“Existing tools for managing dependencies for a particular language [21] can easily be employed within a Docker-based approach, allowing the operating-systems level virtualization to sidestep potential issues such as external library dependencies or conflicts with”
MethodMeasuring Reproducibility in Computer Systems Research
Collberg, C. S. (2014) · Cited by 57
Smith, B. P. (1988) · Production Engineer · doi:10.1049/tpe.1988.0233 · Cited by 45
Possible Directions for Improving Dependency Versioning in R
Ooms, J. C. L. (2013) · The R Journal · doi:10.32614/rj-2013-019 · Cited by 24
BCE: Berkeley's Common Scientific Compute Environment for Research and Education
Clark, D., Culich, A., Hamlin, B., & Lovett, R. (2014) · Proceedings of the Python in Science Conferences · doi:10.25080/majora-14bd3278-002 · Cited by 7
Our troubles with Linux Kernel upgrades and why you should care
Harji, A. S., Buhr, P. A., & Brecht, T. B. (2013) · ACM SIGOPS Operating Systems Review · doi:10.1145/2506164.2506175 · Cited by 6 · cited 1×
“Systems research can provide insight on what limitations to reproducibility this introduces [11].”
Background
Research works printed but not linked: 1
- [6]Eide, E. 2010. Toward Replayable Research in Networking and Systems. Archive '10, the nSF workshop on archiving experiments to raise scientific standards (2010).
Cited by
Singularity: Scientific containers for mobility of compute
Kurtzer, G. M., Sochat, V., & Bauer, M. W. (2017) · PLOS ONE · doi:10.1371/journal.pone.0177459 · Cited by 2,740
Random forest versus logistic regression: a large-scale benchmark experiment
Couronné, R., Probst, P., & Boulesteix, A.-L. (2018) · BMC Bioinformatics · doi:10.1186/s12859-018-2264-5 · Cited by 864
5G network slicing using SDN and NFV: A survey of taxonomy, architectures and future challenges
Barakabitze, A. A., Ahmad, A., Mijumbi, R., & Hines, A. (2020) · Computer Networks · doi:10.1016/j.comnet.2019.106984 · Cited by 814
“Examples of container-based virtualization include: Docker [135] , Linux-Vserver [136] , OpenVZ [137] , and Oracle Solaris Container 13 .”
MethodData-analysis strategies for image-based cell profiling
Caicedo, J. C., Cooper, S., Heigwer, F., Warchal, S., Qiu, P., Molnar, C., Vasilevich, A. S., Barry, J. D., Bansal, H. S., Kraus, O., et al. (2017) · Nature Methods · doi:10.1038/nmeth.4397 · Cited by 739
“However, recent initiatives are decreasing this cost for authors, including the Image Data Resource (IDR; https://idr-demo.openmicroscopy.org/) 128 , which accepts cellular images at the scale of high-throughput image profiling experiments.”
BackgroundAutomated assessment of psychiatric disorders using speech: A systematic review
Low, D. M., Bentley, K. H., & Ghosh, S. S. (2020) · Laryngoscope Investigative Otolaryngology · doi:10.1002/lio2.354 · Cited by 509
“139,140 Innovation might be faster if models could be tweaked in a more efficient manner.”
Background
Metadata
- Authors
- Boettiger, C.
- Affiliations
- University of California, Santa Cruz (US)
- Corresponding author
- Boettiger, Carl
- ORCID
- Boettiger, Carl
- Venue
- ACM SIGOPS Operating Systems Review
- Published
- 2015-01-20
- Volume
- 49
- Issue
- 1
- Pages
- 71-79
- ISSN
- 0163-5980 (ISSN-L)
- OpenAlex
- W1574680346
- Semantic Scholar
- e0b34f80227e9c060bc9c37692278e7cefaa9540
- Cited by
- 1,059
- References
- 22
- Citations by year
- 2026: 69 · 2025: 81 · 2024: 97 · 2023: 73 · 2022: 88 · 2021: 100 · 2020: 140 · 2019: 117 · 2018: 103 · 2017: 98 · 2016: 60 · 2015: 32
- FWCI
- 192.69
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- ACM SIGOPS Operating Systems Review (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- eScholarship (California Digital Library) (submittedVersion)
- arXiv (Cornell University) (cc-by)
- Funders
- Alfred P. Sloan Foundation
- Division of Biological Infrastructure
- Topics
- Social Sciences › Decision Sciences › Information Systems and Management › Scientific Computing and Data Management
- Physical Sciences › Computer Science › Information Systems › Cloud Computing and Resource Management
- Physical Sciences › Computer Science › Computer Networks and Communications › Distributed systems and fault tolerance
- Keywords
- Docker, computational reproducibility, reproducible research, operating system virtualization, virtual machines, workflow management systems, cross-platform portability, DevOps, software versioning
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.