Pith. sign in

REVIEW 2 cited by

Automatically Generating Dockerfiles via Deep Learning: Challenges and Promises

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2303.15990 v1 pith:OAJU62RS submitted 2023-03-28 cs.SE

classification cs.SE
keywords dockerfilesrequirementsautomaticallycodingdeepdevelopersdockerfileenvironment
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Containerization allows developers to define the execution environment in which their software needs to be installed. Docker is the leading platform in this field, and developers that use it are required to write a Dockerfile for their software. Writing Dockerfiles is far from trivial, especially when the system has unusual requirements for its execution environment. Despite several tools exist to support developers in writing Dockerfiles, none of them is able to generate entire Dockerfiles from scratch given a high-level specification of the requirements of the execution environment. In this paper, we present a study in which we aim at understanding to what extent Deep Learning (DL), which has been proven successful for other coding tasks, can be used for this specific coding task. We preliminarily defined a structured natural language specification for Dockerfile requirements and a methodology that we use to automatically infer the requirements from the largest dataset of Dockerfiles currently available. We used the obtained dataset, with 670,982 instances, to train and test a Text-to-Text Transfer Transformer (T5) model, following the current state-of-the-art procedure for coding tasks, to automatically generate Dockerfiles from the structured specifications. The results of our evaluation show that T5 performs similarly to the more trivial IR-based baselines we considered. We also report the open challenges associated with the application of deep learning in the context of Dockerfile generation.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Building

    cs.SE 2025-05 conditional novelty 7.0 of 10

    An LLM-driven agent, CXXCrafter, automatically builds 587 of 752 C/C++ open-source projects (78%), beating default build commands (39%) and bare LLMs (32 to 38%).

  2. Can LLMs Write CI? A Study on Automatic Generation of GitHub Actions Configurations

    cs.SE 2025-07 conditional novelty 6.0 of 10

    Across six LLMs, zero-shot generation of GitHub Actions YAML configurations reaches 69% similarity to ground truth but only 3% exact matches, with code-pretrained models performing no better than general-purpose ones.

Pith tools