Empirical Study of the Docker Smell Impact
Docker is widely adopted for packaging and deploying applications in portable containers. Creating optimal Dockerfiles can be challenging due to varying best practices and deviations known as “Docker smells.” Existing tools for detecting Docker smells suffer from limited recognition and maintenance issues. In this study, we introduce a new tool, Parfum, that automatically detects and repairs Docker smells. We evaluate the effectiveness of Parfum and investigate the impact of Docker smells on image sizes in open-source Dockerfiles. Our results show that Docker smells affect image sizes. On average, eliminating Docker smells results in a size reduction of 46.38MB per image, leading to a total reduction of 39.93T in transferred data per week on DockerHub. We also identify packaging manager commands as the most impactful smells. We initiated 34 pull requests, 24/25 have been merged, and 9 pull requests waiting for an answer, indicating developers’ interest in repairing Docker smells.
Tue 24 OctDisplayed time zone: Lisbon change
09:00 - 10:30 | |||
09:00 22mTalk | Empirical Study of the Docker Smell Impact CONFLANG Thomas Durieux TU Delft | ||
09:22 22mTalk | Measuring Configuration in Code CONFLANG David Newell Google | ||
09:45 22mTalk | Yes, Configuring is Good, But Have You Ever Tried Justifying? CONFLANG Sébastien Mosser McMaster University, Corinne Pulgar École de Technologie Supérieure (ETS), Mireille Blay-Fornarino , Deesha Patel McMaster University, Canada, Aaron Loh McMaster University, Jean-Michel Bruel Université de Toulouse, France | ||
10:07 22mLive Q&A | Configuration analysis Q&A/Discussion CONFLANG |