3 ms·
> Curious, why Vagrant and not Docker? I have a Vagrant/Virtualbox workflow (on Windows host, so Docker not a great option yet) but curious: does Docker have s
by pbowyer 10y ago
> Curious, why Vagrant and not Docker?
I have a Vagrant/Virtualbox workflow (on Windows host, so Docker not a great option yet) but curious: does Docker have shared folder support - via NFS or other?
It's been the getting stuff into & out of the VM that's most painful IMO.
- timthelion 10y agoDocker has better than just shared folder support, you can share folders, UNIX SOCKETS!!!, and DEVICES!!!!! And no need for NFS either, its just a bindmount into the container...
- rzzzt 10y agoOn Windows, if you are using Docker Toolbox, you can keep using VirtualBox. The corresponding driver of docker-machine will spin up the VM that runs the docker daemon, which, once it's running, you can control from the "outside". It uses shared folders support to map the user's home directory by default: https://docs.docker.com/machine/drivers/virtualbox/ https://docs.docker.com/machine/drivers/virtualbox/
- pbowyer 10y ago> On Windows, if you are using Docker Toolbox, you can keep using VirtualBox. Oh awesome, thanks! I looked when Docker for Windows came out and (thankfully) spotted the "After Hyper-V is enabled, VirtualBox will no longer work" (?!) warning before trying it. I didn't dig any deeper.