Research indexBook chapter
Optimizing Developer Container Environments Through Shared Package Caches
Singh, Arora, Upadhyay and 1 other
CRC Press eBooks17 Sep 2026
NobleIDark:/48914/w1/20261105/C5C90C0BDOI10.1201/9781042018222-74
Optimizing Developer Container Environments Through Shared Package Caches
Singh, Arora, Upadhyay and 1 other · CRC Press eBooks · 2026 · Subscription
NobleIDark:/48914/w1/20261105/C5C90C0BDOI10.1201/9781042018222-74
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
The use of containerized environments for reproducibility and consistency has gained importance in modern software development. Developer containers are defined as isolated, project-level development environments. However, a prevalent, inefficient limitation of traditional devcontainer configuration is that languages and associated package ecosystems will produce multiple copies of the package cache, or compiled binaries, being saved in several projects‘ home or workspace folders. In this paper, we present and evaluate an efficient devcontainer architecture that uses Docker named volumes to create shared, persistent package caches for programming language ecosystems. Our findings established a significant reduction in the amount of disk space consumed and the time taken to resolve dependencies (up to 90% less storage space compared with traditional caching on a per-container basis) while improving build times and reducing network bandwidth.