Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.

Comparing Containers And Virtual Machines

Containers and virtual machines have similar resource isolation and allocation benefits — but a different architectural approach allows containers to be more portable and efficient.

Virtual Machine

whatisdocker_2_vms_0-2_2

Containers

whatisdocker_3_containers_2_0

https://www.docker.com/what-docker
https://www.docker.com/products/docker#/windows