Automated detection and extraction of deployment components of Docker services [article]

Marcel Zeller, Universität Stuttgart, Universität Stuttgart
2019
Validation of deployability of application topologies at design-time is a difficult task. Often application topologies cannot be checked until the complete system is deployed. A reliable and up-to-date data source that could be used for validation is a big problem. A possible solution can be the use of the build-scripts of Docker images: Dockerfiles. They provide application component relationships in a well-defined syntax. To be able to extract reliable software component relationship data
more » ... lationship data from dockerfiles a big source set is necessary. Online software repository services provide many public available dockerfiles. Crawlers can be used to collect them. Afterwards the dockerfiles need to be analyzed. Ambiguous, misleading or incorrect content of dockerfiles must be taken into account as far as possible to ensure reliable results. This thesis outlines a concept for collection of dockerfiles, discovery and extraction of deployment components and understandable depiction of the results. The collection is done with crawlers for specific online services. For the discovery and extraction analyzer for component installation commands are provided. A metamodel for models of component structures ensures the comprehensibility of the results. The concept is implemented prototypically with the support of one online software repository service and several wide-spread installation command-line tools.
doi:10.18419/opus-10467 fatcat:xg3ytxxvh5bqtoqkoabdre4jx4