Earlier quoted context omitted.
What problem does Docker solve that using a VM cannot solve?
The infrastructure for creating and sharing e.g. virtual box images does not exist. With docker I can run just about any server product you can name with a single command line invocation. Those commands don't exist for vmware, virtual box or other common virtual machine. That infrastructure simply does not exist.
vagrant [1] provides this feature based on my understanding.