4 ms·
They're actually quite similar. Docker is to lightweight containers as Vagrant is to virtual machines (more or less anyway; Vagrant lets you configure a lot mo
by frio 13y ago
They're actually quite similar. Docker is to lightweight containers as Vagrant is to virtual machines (more or less anyway; Vagrant lets you configure a lot more at this point). The nice thing is that the Dockerfile makes the whole thing a lot more transparent; VMs are sort of nebulous black boxes, whereas you can follow the construction of the container through the Dockerfile.
I'll be interested in seeing how the ecosystem evolves when Vagrant becomes better able to manage containers.
- aeon10 13y agoThere is also a lot of talk about Docker and Vagrant working together. Like using Vagrant to manage Docker containers..
- shykes 13y agoThe typical use case is to use Vagrant to spin up the machine which then runs docker. I wouldn't recommend managing Docker containers with Vagrant unless you're really heavily invested in a pure vagrant workflow and for some reason cannot afford to call docker commands directly.