DRIVE: Dockerfile Rule Mining and Violation Detection

12/12/2022
by   Yu Zhou, et al.
0

A Dockerfile defines a set of instructions to build Docker images, which can then be instantiated to support containerized applications. Recent studies have revealed a considerable amount of quality issues with Dockerfiles. In this paper, we propose a novel approach DRIVE (Dockerfiles Rule mIning and Violation dEtection) to mine implicit rules and detect potential violations of such rules in Dockerfiles. DRIVE firstly parses Dockerfiles and transforms them to an intermediate representation. It then leverages an efficient sequential pattern mining algorithm to extract potential patterns. With heuristic-based reduction and moderate human intervention, potential rules are identified, which can then be utilized to detect potential violations of Dockerfiles. DRIVE identifies 34 semantic rules and 19 syntactic rules including 9 new semantic rules which have not been reported elsewhere. Extensive experiments on real-world Dockerfiles demonstrate the efficacy of our approach.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/20/2019

SCR-Apriori for Mining `Sets of Contrasting Rules'

In this paper, we propose an efficient algorithm for mining novel `Set o...
research
06/09/2022

Towards Target Sequential Rules

In many real-world applications, sequential rule mining (SRM) can provid...
research
10/27/2022

Towards Correlated Sequential Rules

The goal of high-utility sequential pattern mining (HUSPM) is to efficie...
research
12/20/2022

MDL-based Compressing Sequential Rules

Nowadays, with the rapid development of the Internet, the era of big dat...
research
02/08/2020

Learning from, Understanding, and Supporting DevOps Artifacts for Docker

With the growing use of DevOps tools and frameworks, there is an increas...
research
08/07/2019

From Crowdsourcing to Crowdmining: Using Implicit Human Intelligence for Better Understanding of Crowdsourced Data

With the development of mobile social networks, more and more crowdsourc...

Please sign up or login with your details

Forgot password? Click here to reset