| > No full-system boot delay helps I just cold-booted a Vagrant VM, which is configured to check for new base-box versions (i.e. a network delay that can be disabled). time vagrant up
...
real 0m39.698s
user 0m11.989s
sys 0m5.490s
If your argument about tooling is around performance and the "slow" one takes just 40 seconds to start, I think you need to clarify how often you expect to be starting this tool in a day.> Cached layers help. Helps what, exactly? > Not dealing with vm-specific kernel modules helps. I don't even know what you're talking about here. Do you mean you need to have a hypervisor kernel module? What exactly do you need to "deal with"? > Fast non-nfs volumes shared with the host help. I've never once used an NFS volume in a Vagrant guest. In case you weren't aware, Vagrant is not limited to using VirtualBox. > There are speed benefits for containers all over the place - both in time spent dealing with the environment and in actual execution. You haven't actually identify any environment issues you need to "deal with", just said "X helps". |
But there are other costs. Someone deals with updates, with adding new functionality, with debugging issues. I spend most of my day recently waiting for puppet runs in vagrant/vbox. It's 10+ min for a full run. Then I make more changes - sometimes an incremental provision is enough, sometimes I need a full rebuild. On the other hand, if the environment was built with docker layers, I'd have much less waiting to do, because the caching of partial build/layer is integrated. Over a whole day, that's not insignificant time saving.
And sure, vagrant has multiple backend. I'm using vbox, and so does almost every developer using vagrant. It's the only free one. (Apart from the docker backend)