question about services shared by multiple applications

Hi everyone,

I have a simple question, let’s say I have multiple applications, created from different docker-compose files with “balena build” command, and some of them share a common service built locally or pulled from dockerhub, now my question is, on balena registry will I have multiple instances of the same service or will they share the same “data blob”. My concern is space consumption of those applications on the registry.



Registry stores each image layer only once, based on its content hash. Images are then a collection of content hashes, which are ultimately references to those stored layers. So, yes, registry will store those images optimally.

Are you limited on storage on the server or is this a general concern? Ideally the registry would not be constrained on storage, as you have little to no control over its growth as images are built and pushed.