iVedha interview question

What is docker n virtual machine ,differences ?