Sharing Vagrant guest folders with the host
There are a number of cases where it is useful to share a folder between the host operating system and a Vagrant machine guest. When using Vagrant to develop software, shared folders can quickly become the primary advantage to use Vagrant. A shared folder allows us to execute code within a server environment, while having access to the full suite of development tools available for our host operating system.
Before setting up a shared folder scheme, it will be useful to plan how you would like to set up folder sharing. There are a few tips to keep in mind:
- Sharing a folder will only work for folders that exist on the host operating system before starting Vagrant. This will also ensure that ...