Question: what is difference between docker and vagrant?
Answer: Where Docker relies on the host operating system, Vagrant includes the operating system within itself as part of the package. One big difference between Docker and Vagrant is that Docker containers run on Linux, but Vagrant files can contain any operating system. ... It just needs to run within a Linux virtual machine.