{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T18:01:26Z","timestamp":1793815286829,"version":"4.6.1"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T00:00:00Z","timestamp":1750291200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["No.62202480"],"award-info":[{"award-number":["No.62202480"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,19]]},"abstract":"<jats:p>Docker building is a critical component of containerization in modern software development, automating the process of packaging and converting sources into container images. It is not uncommon to find that Docker build faults (DBFs) occur frequently across Docker-based projects, inducing non-negligible costs in development activities. DBF resolution is a challenging problem and previous studies have demonstrated that developers spend non-trivial time in resolving encountered build faults. However, the characteristics of DBFs are still under-investigated, hindering practical solutions to build management in the Docker community. In this paper, to bridge this gap, we present a comprehensive study for understanding the real-world DBFs in practice. We collect and analyze a DBF dataset of 255 issues and 219 posts from GitHub, Stack Overflow, and Docker Forum. We investigate and construct characteristic taxonomies for the DBFs, including 15 symptoms, 23 root causes, and 35 fix patterns. Moreover, we study the fault distributions of symptoms and root causes, in terms of the different build types, i.e., Dockerfile builds and Docker-compose builds. Based on the results, we provide actionable implications and develop a knowledge-based application, which can potentially facilitate research and assist developers in improving the Docker build management.<\/jats:p>","DOI":"10.1145\/3715757","type":"journal-article","created":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T11:15:34Z","timestamp":1750331734000},"page":"868-890","source":"Crossref","is-referenced-by-count":6,"title":["Towards Understanding Docker Build Faults in Practice: Symptoms, Root Causes, and Fix Patterns"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8652-116X","authenticated-orcid":false,"given":"Yiwen","family":"Wu","sequence":"first","affiliation":[{"name":"National University of Defense Technology, Changsha, China"},{"name":"State Key Laboratory of Complex &amp; Critical Software Environment, Chang sha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3111-1534","authenticated-orcid":false,"given":"Yang","family":"Zhang","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"},{"name":"State Key Laboratory of Complex &amp; Critical Software Environment, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8406-8672","authenticated-orcid":false,"given":"Tao","family":"Wang","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"},{"name":"State Key Laboratory of Complex &amp; Critical Software Environment, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1512-4105","authenticated-orcid":false,"given":"Bo","family":"Ding","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"},{"name":"State Key Laboratory of Complex &amp; Critical Software Environment, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3245-1901","authenticated-orcid":false,"given":"Huaimin","family":"Wang","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"},{"name":"State Key Laboratory of Complex &amp; Critical Software Environment, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,19]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2015.62"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","unstructured":"Brandon Atkinson and Dallas Edwards. 2018. Generic Pipelines Using Docker: The DevOps Guide to Building Reusable Platform Agnostic CI\/CD Frameworks. Apress. doi:10.1007\/978-1-4842-3655-0","DOI":"10.1007\/978-1-4842-3655-0"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","unstructured":"M. Bagherzadeh and R. Khatchadourian. 2019. Going Big: a Large-Scale Study on What Big Data Developers Ask. In Proceedings of the European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/FSE). 432\u2013442. doi:10.1145\/3338906.3338939","DOI":"10.1145\/3338906.3338939"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","unstructured":"K. Bajaj K. Pattabiraman and A. Mesbah. 2014. Mining questions asked by web developers. In Proceedings of the International Conference on Mining Software Repositories (MSR). 112\u2013121. doi:10.1145\/2597073.2597083","DOI":"10.1145\/2597073.2597083"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/MCC.2014.51"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723872.2723882"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","unstructured":"Noah B\u00fchlmann and Mohammad Ghafari. 2022. How do developers deal with security issue reports on github?. In Proceedings of the 37th ACM\/SIGAPP Symposium on Applied Computing. 1580\u20131589. doi:10.1145\/3477314.3507123","DOI":"10.1145\/3477314.3507123"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","unstructured":"J\u00fcrgen Cito Vincenzo Ferme and Harald C Gall. 2016. Using docker containers to improve reproducibility in software and web engineering research. In Proceedings of International Conference on Web Engineering (ICWE). Springer 609\u2013612. doi:10.1145\/2889160.2891057","DOI":"10.1145\/2889160.2891057"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2017.67"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1177\/001316446002000104"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/MCC.2016.100"},{"key":"e_1_3_1_13_1","unstructured":"DBF-Artifact. 2024. Artifact Package for DBF Study. [online]. https:\/\/sites.google.com\/view\/dbf-research."},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME55016.2022.00029"},{"key":"e_1_3_1_15_1","unstructured":"Docker. 2022a. docker build. [online]. https:\/\/docs.docker.com\/engine\/reference\/commandline\/build\/ Accessed September 1 2024."},{"key":"e_1_3_1_16_1","unstructured":"Docker. 2022b. Docker compose. [online]. https:\/\/docs.docker.com\/engine\/reference\/commandline\/compose\/ Accessed September 1 2024."},{"key":"e_1_3_1_17_1","unstructured":"Docker. 2024a. Build context. [online]. https:\/\/docs.docker.com\/build\/concepts\/context\/ Accessed September 1 2024."},{"key":"e_1_3_1_18_1","unstructured":"Docker. 2024b. Docker build cache. [online]. https:\/\/docs.docker.com\/build\/cache\/ Accessed September 1 2024."},{"key":"e_1_3_1_19_1","unstructured":"Docker. 2024c. Docker Build Overview. [online]. https:\/\/docs.docker.com\/build\/concepts\/overview\/ Accessed September 1 2024."},{"key":"e_1_3_1_20_1","unstructured":"Docker. 2024d. Docker compose build. [online]. https:\/\/docs.docker.com\/reference\/cli\/docker\/compose\/build\/ Accessed September 1 2024."},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPCC-SmartCity-DSS.2017.44"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/IC2E.2014.41"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-024-10462-8"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1109\/MIPR.2019.00094"},{"key":"e_1_3_1_25_1","unstructured":"GitHub. 2022. Search issues and pull requests. [online]. https:\/\/docs.github.com\/en\/rest\/search\/search?apiVersion=2022-11-28#search-issues-and-pull-requests Accessed September 1 2024."},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","unstructured":"Mubin Ul Haque Leonardo Horn Iwaya and M Ali Babar. 2020. Challenges in docker development: A large-scale study using stack overflow. In Proceedings ofthe 14th ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). 1\u201311. doi:10.1145\/3382494.3410693","DOI":"10.1145\/3382494.3410693"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2017.11"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3278129"},{"key":"e_1_3_1_29_1","unstructured":"Viktor Hedefalk. 2018. How do I copy variables between stages of multi stage Docker build? [online]. https:\/\/stackoverflow.com\/questions\/52904847\/how-do-i-copy-variables-between-stages-of-multi-stage-docker-build Accessed September 1 2024."},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","unstructured":"Jordan Henkel Denini Silva Leopoldo Teixeira Marcelo d\u2019Amorim and Thomas Reps. 2021. Shipwright: A Human-in-the-Loop System for Dockerfile Repair. In Proceedings of the 43rd IEEE\/ACM International Conference on Software Engineering (ICSE). IEEE 1148\u20131160. doi:10.1109\/ICSE43902.2021.00106","DOI":"10.1109\/ICSE43902.2021.00106"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-021-10025-1"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","unstructured":"Md Johirul Islam Giang Nguyen Rangeet Pan and Hridesh Rajan. 2019. A comprehensive study on deep learning bug characteristics. In Proceedings of the 27th ACM joint meeting on european software engineering conference and symposium on the foundations of software engineering (ESEC\/FSE). 510\u2013520. doi:10.1016\/j.jksuci.2023.01.014","DOI":"10.1016\/j.jksuci.2023.01.014"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","unstructured":"Kinnary Jangla. 2018. Docker compose. Accelerating Development Velocity Using Docker: Docker Across Microservices (2018) 77\u201398. doi:10.1007\/978-1-4842-3936-0","DOI":"10.1007\/978-1-4842-3936-0"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9393-5"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","unstructured":"Emna Ksontini Marouane Kessentini Thiago do N. Ferreira and Foyzul Hassan. 2021. Refactorings and Technical Debt in Docker Projects: An Empirical Study. In the 36th IEEE\/ACM International Conference on Automated Software Engineering (ASE). 781\u2013791. doi:10.1109\/ASE51524.2021.9678585","DOI":"10.1109\/ASE51524.2021.9678585"},{"key":"e_1_3_1_36_1","first-page":"9459","article-title":"Retrieval-augmented generation for knowledge-intensive nlp tasks","volume":"33","author":"Lewis Patrick","year":"2020","unstructured":"Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich K\u00fcttler, Mike Lewis, Wen-tau Yih, Tim Rockt\u00e4schel, et al. 2020. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems 33 (2020), 9459\u20139474.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME52107.2021.00037"},{"key":"e_1_3_1_38_1","doi-asserted-by":"publisher","unstructured":"Yiling Lou Zhenpeng Chen Yanbin Cao Dan Hao and Lu Zhang. 2020. Understanding build issue resolution in practice: symptoms and fix patterns. In Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/FSE). 617\u2013628. doi:10.1145\/3368089.3409760","DOI":"10.1145\/3368089.3409760"},{"key":"e_1_3_1_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-011-9169-5"},{"key":"e_1_3_1_40_1","unstructured":"Mcarans Mike. 2020. \u201cBuild finished\u201d\u2019 Docker build hangs on \u201cCanceling\u201d\u2019. [online]. https:\/\/forums.docker.com\/t\/build-finished-docker-build-hangs-on-canceling\/90527 Accessed September 1 2024."},{"key":"e_1_3_1_41_1","volume-title":"Using Docker: Developing and deploying software with containers","author":"Mouat Adrian","year":"2015","unstructured":"Adrian Mouat. 2015. Using Docker: Developing and deploying software with containers. \u201c O\u2019Reilly Media, Inc.\"."},{"key":"e_1_3_1_42_1","unstructured":"Zach Nussbaum John X. Morris Brandon Duderstadt and Andriy Mulyar. 2024. Nomic Embed: Training a Reproducible Long Context Text Embedder. arXiv:2402.01613 (2024)."},{"key":"e_1_3_1_43_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2014.90"},{"key":"e_1_3_1_44_1","unstructured":"Pprathima3. 2018. Docker build image failing with docker load command failed with output. [online]. https:\/\/forums.docker.com\/t\/docker-build-image-failing-with-docker-load-command-failed-with-output\/64936 Accessed September 1 2024."},{"key":"e_1_3_1_45_1","unstructured":"Nicolas R. 2017. Extremely slow parallel docker builds. [online]. https:\/\/forums.docker.com\/t\/extremely-slow-parallel-docker-builds\/38587 Accessed September 1 2024."},{"key":"e_1_3_1_46_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9379-3"},{"key":"e_1_3_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.799955"},{"key":"e_1_3_1_48_1","doi-asserted-by":"publisher","unstructured":"Hyunmin Seo Caitlin Sadowski Sebastian Elbaum Edward Aftandilian and Robert Bowdidge. 2014. Programmers\u2019 build errors: a case study (at google). In Proceedings of the 36th International Conference on Software Engineering (ICSE). 724\u2013734. doi:10.1145\/2568225.2568255","DOI":"10.1145\/2568225.2568255"},{"key":"e_1_3_1_49_1","unstructured":"Edvard Shalaev. 2021. Containerized Software Development for Industrial Environment. (2021)."},{"key":"e_1_3_1_50_1","volume-title":"Docker orchestration","author":"Smith Randall","year":"2017","unstructured":"Randall Smith. 2017. Docker orchestration. Packt Publishing Ltd."},{"key":"e_1_3_1_51_1","unstructured":"Stack-Overflow. 2023. 2023 Developer Survey. [online]. https:\/\/survey.stack-overflow.co\/2023\/ Accessed September 1 2024."},{"key":"e_1_3_1_52_1","unstructured":"Stack-Overflow. 2024. Stack Exchange Data Explorer. [online]. https:\/\/data.stackexchange.com\/stackoverflow\/query\/ Accessed September 1 2024."},{"key":"e_1_3_1_53_1","unstructured":"stefan79. 2015. Ansible Provisioner cannot complete on docker build. [online]. https:\/\/github.com\/hashicorp\/packer\/issues\/2028 Accessed September 1 2024."},{"key":"e_1_3_1_54_1","doi-asserted-by":"publisher","unstructured":"Mat\u00fa\u0161 Sul\u00edr and Jaroslav Porub\u00e4n. 2016. A quantitative study of java software buildability. In Proceedings of the 7th International Workshop on Evaluation and Usability of Programming Languages and Tools. 17\u201325. doi:10.1145\/3001878.3001882","DOI":"10.1145\/3001878.3001882"},{"key":"e_1_3_1_55_1","unstructured":"Gemma Team Morgane Riviere Shreya Pathak Pier Giuseppe Sessa Cassidy Hardin Surya Bhupatiraju L\u00e9onard Hussenot Thomas Mesnard Bobak Shahriari Alexandre Ram\u00e9 et al. 2024. Gemma 2: Improving open language models at a practical size. arXiv:2408.00118 (2024)."},{"key":"e_1_3_1_56_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2017.67"},{"key":"e_1_3_1_57_1","unstructured":"Whoibrar. 2024. What Is Docker Daemon? [online]. https:\/\/www.geeksforgeeks.org\/what-is-docker-daemon\/ Accessed September 1 2024."},{"key":"e_1_3_1_58_1","doi-asserted-by":"publisher","unstructured":"Yiwen Wu Yang Zhang Tao Wang and Huaimin Wang. 2020. An empirical study of build failures in the docker context. In Proceedings ofthe 17thInternational Conference on Mining SoftwareRepositories (MSR). 76\u201380. doi:10.1145\/3379597.3387483","DOI":"10.1145\/3379597.3387483"},{"key":"e_1_3_1_59_1","doi-asserted-by":"publisher","unstructured":"Yiwen Wu Yang Zhang Kele Xu Tao Wang and Huaimin Wang. 2022. Understanding and Predicting Docker Build Duration: An Empirical Study of Containerized Workflow of OSS Projects. In Proceedings of the 37th IEEE\/ACM International Conference on Automated Software Engineering (ASE). 1\u201313. doi:10.1145\/3551349.3556940","DOI":"10.1145\/3551349.3556940"},{"key":"e_1_3_1_60_1","doi-asserted-by":"publisher","unstructured":"Tianyin Xu and Darko Marinov. 2018. Mining container image repositories for software configuration and beyond. In Proceedings ofthe 40th International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER). 49\u201352. doi:10.1145\/3183399.3183403","DOI":"10.1145\/3183399.3183403"},{"key":"e_1_3_1_61_1","doi-asserted-by":"publisher","unstructured":"Yang Zhang Bogdan Vasilescu Huaimin Wang and Vladimir Filkov. 2018. One size does not fit all: an empirical study of containerized continuous deployment workflows. In the 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/FSE). 295\u2013306. doi:10.1145\/3236024.3236033","DOI":"10.1145\/3236024.3236033"},{"key":"e_1_3_1_62_1","doi-asserted-by":"publisher","unstructured":"Yang Zhang Yiwen Wu Tingting Chen Tao Wang Hui Liu and Huaimin Wang. 2024. How do Developers Talk about GitHub Actions? Evidence from Online Software Development Community. In Proceedings ofthe 46th IEEE\/ACM International Conference on Software Engineering (ICSE). 1\u201313. doi:10.1145\/3597503.3623327","DOI":"10.1145\/3597503.3623327"},{"key":"e_1_3_1_63_1","doi-asserted-by":"publisher","DOI":"10.1109\/SANER53432.2022.00060"},{"key":"e_1_3_1_64_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09709-6"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715757","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T10:59:55Z","timestamp":1787482795000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3715757"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,19]]},"references-count":63,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2025,6,19]]}},"alternative-id":["10.1145\/3715757"],"URL":"https:\/\/doi.org\/10.1145\/3715757","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,19]]}}}