paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Empirical Study of the Docker Smells Impact on the Image Size

Docker 坏味对镜像大小影响的实证研究
ICSE Proceedings of the IEEE/ACM 46th International Conference on Software Engineering2024匹配度 2/10 · 该论文是 Dockerfile 坏味与镜像大小的实证软件工程研究,与用户关注的 PL/AI 交叉(静态分析用于 ML/Agentic 程序、LLM 辅助静态分析、浮点程序分析、贝叶斯程序分析)没有直接关系;仅在开发者工具/经验研究层面有很弱的边缘关联。引用 14 inbox
Thomas Durieux
crossref: 2026-09-12

AI 速览

一句话:通过实证研究量化 14 种 Docker 坏味对 Docker 镜像大小的影响。

Docker 已成为广泛使用的应用打包与部署工具,它通过 Dockerfile 构建镜像。然而,编写最优 Dockerfile 并不容易,开发者常常偏离最佳实践,产生所谓的 Docker 坏味。本文针对 14 种 Docker 坏味开展实证研究,考察它们对 Docker 镜像大小的影响。研究旨在揭示哪些坏味会导致镜像体积膨胀,以及各坏味影响的相对程度,从而帮助开发者理解 Dockerfile 质量与镜像大小之间的关系,并为编写更精简的镜像、优化构建配置提供实证依据。

问题
编写最优 Dockerfile 困难,开发者常违反最佳实践,产生 Docker 坏味,可能导致镜像体积增大。
方法
对 14 种 Docker 坏味进行实证研究,分析它们与 Docker 镜像大小之间的影响关系。
评估
以 Docker 镜像大小为度量,考察并比较不同 Docker 坏味对镜像大小的影响。
原文摘要(Abstract)

Docker, a widely adopted tool for packaging and deploying applications leverages Dockerfiles to build images. However, creating an optimal Dockerfile can be challenging, often leading to "Docker smells" or deviations from best practices. This paper presents a study of the impact of 14 Docker smells on the size of Docker images.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11371,
  title = {Empirical Study of the Docker Smells Impact on the Image Size},
  author = {Thomas Durieux},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3597503.3639143}
}