Category: Software, Docker

Hi Everyone!Lets talk about what is virtual machine and a container.You create a virtual machine inside a machine , which has its own operating system , memory , HDD etc. Lets see , on which layer virtual machine exists in inside a physical machine .You have your hardware , where you have installed an operating system which has its own kernel files and above that you have a hypervisor which is responsible to provide virtual environment for your virtual machine , above which you must have software like vmware workstation etc. You can launch a virtual machine using VMware workstation or the software which you have , this machine will be consuming the ram of the physical machine, HDD (which was defined during creation) but it will have its own operating system and kernel files. Now lets talk about container. Again , you have a hardware , and operating system which has a kernel (contains some important library files to allow your operating system to work smoothly), above which you will be having docker-engine or any other container provider tool like rancher or LXC etc; this tool will provide you an environment to create containers.These containers will share the same kernel library files which your underlying operating system is using , and on the top of it ,you will be provided with the required OS flavor as per the image you are using.

Related Articles