Docker Community Forums

Share and learn in the Docker community.

If I start 10 containers on base image which is of size 1 GB, what will be the size occupied ? 1 GB base images is shared or it created 10 isolated images?


(Pothurajupunith) #1

Hi All,

I have a question regarding container base images and their memory management.

My Question is:

Let us think there is a base image of 1 GB Unix. if I want to create 10 VMS, each VM will take 1 GB so totally GB occupied is 10 GB. I know that if we create 10 Containers out of the same base image, then containers will not occupy 10 GB ( as container shares OS not isolated).

Is my understanding correct?

May I request someone to explain how this OS is shared across 10 Containers?

Thanking you,