Docker Community Forums

Share and learn in the Docker community.

Duplicated pages in docker


(Wenqicao) #1

I am learning how docker designs its memory management parts. I want to know if docker considered the ‘kernel same-page merging’ problem. For instance, multiple containers make use of the same shared libraries, do they occupy multiple copies in memory? how docker solves this?

Thanks


(Dvohra) #2

If multiple containers make use of the same shared libraries, it is better to use a cluster manager such as Kubernetes and create a shared volume.