Ten10 interview question

Explain how docker works? What does it do and how does it do it?