Joyce Babu
Joyce Babu

Reputation: 20654

What is the difference between shared folder and synced folder in Vagrant?

While going through Vagrant tutorials, I have seen two options for sharing folders between host and guest machines - shared folders and synced folders. What are the difference between them?

Or, is synced folder the new name for shared folder, in Vagrant 2?

Upvotes: 7

Views: 3412

Answers (2)

Terry Wang
Terry Wang

Reputation: 13920

Shared Folders is more VirtualBox specific (vboxsf) and have known performance issues as number of files grows.

Vagrant v2 (For vagrant 1.1.x and 1.2.x) docs use a more generic name Synced Folder, which includes the default vboxsf and NFS.

In addition to vboxsf and NFS, sshfs is also worth looking into if your host is running Linux.

Upvotes: 8

cmur2
cmur2

Reputation: 2624

As you guessed, synced folder is the new, more generic name for a feature that is not only VirtualBox specific anymore as of Vagrant 1.1.

Upvotes: 3

Related Questions