|
|
|
|
|
by mickeyp
3162 days ago
|
|
Yes, with the caveat that if you already use a hypervisor for your main dev environment then running another inside it with Vagrant's default VBox setup is likely to either be very slow or not work at all. Docker will also layer and cache each command greatly speeding up the "build&test" cycle of writing and running Docker containers. With Vagrant you're re-running everything every time. Furthermore, you can actually use Docker with Vagrant also nowadays. |
|
If you want to use Docker, you're then automatically using a hypervisor anyway.
> With Vagrant you're re-running everything every time.
Are you talking about the time to provision a non-created environment?
On a clean install, sure, that might take a while if your base-box doesn't have the dependencies you require - but most developers wouldn't often need to re-build their Vagrant environment for a project from scratch (i.e. vagrant destroy is not likely to be a common task). And that whole situation is moot if you use or build a more appropriate base box.