It's Not Just Timestamps: A Study on Docker Reproducibility

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autore principale: Solarin, Oreofe
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908842313383936
author Solarin, Oreofe
author_facet Solarin, Oreofe
contents Reproducible container builds promise a simple integrity check for software supply chains: rebuild an image from its Dockerfile and compare hashes. We build a Docker measurement pipeline and apply it to a stratified sample of 2,000 GitHub repositories that contained a Dockerfile. We found that only 56% produce any buildable image, and just 2.7% of those are bitwise reproducible without any infrastructure configurations. After modifying infrastructure configurations, we raise bitwise reproducibility by 18.6%, but 78.7% of buildable Dockerfiles remain non-reproducible. We analyze the root causes of the remaining differences, and find that beyond timestamps and metadata, developer-controlled choices such as uncleaned caches, logs, documentation, and floating versions are dominant causes of non-reproducibility. We derive concrete Dockerfile guidelines from these patterns and discuss how they can inform future linters and Continuous Integration (CI) checks for reproducible containers.
format Preprint
id arxiv_https___arxiv_org_abs_2602_17678
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle It's Not Just Timestamps: A Study on Docker Reproducibility
Solarin, Oreofe
Distributed, Parallel, and Cluster Computing
Cryptography and Security
Software Engineering
Reproducible container builds promise a simple integrity check for software supply chains: rebuild an image from its Dockerfile and compare hashes. We build a Docker measurement pipeline and apply it to a stratified sample of 2,000 GitHub repositories that contained a Dockerfile. We found that only 56% produce any buildable image, and just 2.7% of those are bitwise reproducible without any infrastructure configurations. After modifying infrastructure configurations, we raise bitwise reproducibility by 18.6%, but 78.7% of buildable Dockerfiles remain non-reproducible. We analyze the root causes of the remaining differences, and find that beyond timestamps and metadata, developer-controlled choices such as uncleaned caches, logs, documentation, and floating versions are dominant causes of non-reproducibility. We derive concrete Dockerfile guidelines from these patterns and discuss how they can inform future linters and Continuous Integration (CI) checks for reproducible containers.
title It's Not Just Timestamps: A Study on Docker Reproducibility
topic Distributed, Parallel, and Cluster Computing
Cryptography and Security
Software Engineering
url https://arxiv.org/abs/2602.17678