---
title: "Discussion on \"Do docker containers share RAM for files memory mapped from the same layer but a different image?\" | Hashnode"
description: "Discussion on \"Do docker containers share RAM for files memory mapped from the same layer but a different image?\". I'm not 100% certain about whether this is a U&L question or a SO question. On balance I'm posting it on U&L as it's OS related.\nBackground\nAs far as I know, Linux will load shared libraries (.so files) by memory mapping them as copy-on-write. One ad..."
url: "https://hashnode.com/posts/do-docker-containers-share-ram-for-files-memory-mapped-from-the-same-layer-but-a-different-image/679e61ae62b4c9cab458fb32"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Do docker containers share RAM for files memory mapped from the same layer but a different image?](https://blogs.sretribe.net/do-docker-containers-share-ram-for-files-memory-mapped-from-the-same-layer-but-a-different-image?utm_source=hashnode&utm_medium=feed)

I'm not 100% certain about whether this is a U&L question or a SO question. On balance I'm posting it on U&L as it's OS related. Background As far as I know, Linux will load shared libraries (.so files) by memory mapping them as copy-on-write. One ad...

Feb 1, 2025 · 4 min read · blogs.sretribe.net  
Read the article

## Written by

[Fizzy](https://hashnode.com/@fiizzy)

@fiizzy

  
[View profile](https://hashnode.com/@fiizzy)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
