Comparison between Chunk-Based and Layer-Based Container Image Storage Approaches: an Empirical Study

Container management frameworks, such as Docker, pack applications and their complex software environment in self-contained images, which facilitates application deployment, distribution, and sharing. Currently, container images are organized in a multi-layer file-system manner. For example, Docker uses AUFS to organize its container image storage. However, when a new version is created, all the changes are stored in a new layer via a Copy-On-Write mechanism, which can trigger a heavy burden for the network and storage. There are also other image storage approaches such as chunk-based technology. In this paper, we suggest that the container image storage system should not use one storage technology for all images, but should choose different technology for concrete images according to the image's distinct features. We design some experiments to compare the layer-based and chuck-based technology. And based on the analysis of the collected data, this paper gives some principles for the selection of image management techniques and discusses some interesting potential research topics.