Dockers vs Virtual machines

Dockers vs Virtual machines, a quick note about the difference between two.

Docker is an open source tool used to make package of an application which contains all required libraries , dependent programs, files etc. Docker makes it easy to create , deploy and execute application programs.  Docker will give the surety that application will work without any issues in any given machine..

 However Virtual machines(VM) used to create virtual Operating system(OS) and are designed to run OS on servers. VM will emulate hardware. However Containers are faster and lighter than VM.