Formulation and heuristic for the container image reconstruction problem

Vol 56, 2024 - 309722
Complete Articles (CA)
Favorite this paper
How to cite this paper?
Abstract

Using container images is a popular technique to share and deploy software by packaging it with all its dependencies. Software deployment with containers was an important enabler for cloud native computing and changed the way software development teams deliver software. Docker and other tools uses content-addressable storage to share identical layers across images and reduce storage usage. However, in practice some layers can be very similar but not equal, which reduces potential storage savings. In this article we propose the reconstruction of sets of container images to increase layers similarity and optimize storage usage. We formulate the image reconstruction problem as an integer linear model and propose an off-line constructive heuristic to optimize storage usage within the context of a software development team. We analyze our solution with 4 open-source applications with multiple containers and compare the results with a solver.

Share your ideas or questions with the authors!

Did you know that the greatest stimulus in scientific and cultural development is curiosity? Leave your questions or suggestions to the author!

Sign in to interact

Have a question or suggestion? Share your feedback with the authors!

Institutions
  • 1 Instituto de Computação da UNICAMP (IC)
Track
  • 20. TEL&SI – OR in Telecommunications and Information Systems
Keywords
Container
Docker
Storage