<ul>
<li><p>Since containers are lightweight os virtualization, can we get the same performance as native (host)?</p>
</li>
<li><p>What would be the difference in performance?</p>
</li>
</ul>
<p>Any leads are highly appreciated or if you have any analysis reports or any reference with host vs containers performance comparison will help.</p>
<p>IA</p>

Containers-Intrest
<p>This question has already been <a href="https://stackoverflow.com/questions/21889053/what-is-the-runtime-performance-cost-of-a-docker-container">answered</a>. While the answer is specifically referring to Docker, it can be generalized to other
OCI compliant Container technologies: they all use the same primitives such as cgroups, Linux namespaces and (mostly) unionfs.</p>
<p>Keep in mind, that (in case of Docker) this only refers to containers running in Linux. If you operate Docker containers on Windows or Mac you have a LInux virtualization layer which causes extra (significant1) performance loss.</p>
<p>Edit: there are other approaches of &quot;containerization&quot; like KVM - as the question is tagged with &quot;Docker&quot; I assume it is specifically asking for the performance impact of docker containers.</p>
