title: How memory allocation is happening in docker
body: <p>I am having a Docker image of virtual size 6.5 GB</p>
  
  <pre><code>REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
  Image_Name         latest              d8dcd701981e      About an hour ago        6.565 GB
  </code></pre>
  
  <p>but the RAM in my system is only 4GB , the container is working at a good speed though , I am really confused as how the RAM allocation is done for the docker containers . Is there any limit to the RAM size being allocated to a container as in the end docker container is just another isolated process running in the Operating system.</p>