I’m working on project where I divided the application in multiple docker images and I’m running around 5 containers where each one has its own image. Following the “One process per container” rule.
For that I’m using a beaglebone black which has only 480Mb of memory. Sometimes when the application runs for some time it crashes due to Out of memory exception.
So I was wondering if I make the images smaller would it consume less memory? How is the memory allocated for each container?
What if I group some images/containers into a single running container with more than one process? Would it use less memory?