All aspects of Docker and vagrant are compared [universal sharing]docker:
1. Virtual Environment tool based on Linux virtual machine
2. Allocate resources at the software level to support the deployment of Linux only
3. Start the isolation level and security of the virtual machine created in just a few seconds: section
4. Lightweight, others somewhat: fast, easy to learn
Vagrant:
1. The Virtual Machine management tool, itself is also a virtual machine (currently only supported running on VirtualBox, of course, the design to support vmware,aws, etc.)
2. Allocate resources at the hardware level to support deployment of linux,unix,windows
3. Boot takes several minutes, the isolation level and security of the virtual machine created: fully
4. A bit cumbersome, but still better than the full virtual machine, others a bit: while support and some configuration tools (such as puppet,chef) integration
All aspects of Docker and vagrant comparison [Universal sharing]