DockerGen: A Knowledge Graph based Approach for Software Containerization


연구 분야: Software Development



학회: 2021 IEEE 45th Annual Computers, Software, and Applications Conference (COMPSAC)


초록

Docker is the de-facto container technology for software system deployment and delivery. A Dockerfile specifies how to containerize a system into a Docker image. However, creating a Dockerfile is not trivial since resolving the dependencies (e.g., third-party libraries) of diverse software requires comprehensive domain knowledge. In this paper, we propose DockerGen to containerize software packages automatically. DockerGen constructs a knowledge graph containing rich knowledge of building Docker images by analyzing nearly 220 thousand Dockerfiles. DockerGen exploits the knowledge graph to containerize the target software by creating a Dockerfile specifying the base image, dependencies, and the operation workflow. We evaluate DockerGen on 100 software packages of various categories. DockerGen achieves a 73% build success rate and a 59% configuration success rate. The experimental result indicates it is viable to automate software containerization based on a domain knowledge graph.


Author Profile
Hongjie Ye

University of Chinese Academy of Sciences Beijing China

China
Author Profile
Jiahong Zhou

University of Chinese Academy of Sciences Beijing China

China
Author Profile
Wei Chen

University of Chinese Academy of Sciences Beijing China

China

📄 논문 정보

발행 연도 2021년
인용수 5
출판 국가 China
사이트 IEEE
좋아요 수 0

연관 논문 목록 (269건)