Skip to content

Instantly share code, notes, and snippets.

@Nickology
Created August 19, 2016 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nickology/3a079da8e70c803f9ae8d434b983f507 to your computer and use it in GitHub Desktop.
Save Nickology/3a079da8e70c803f9ae8d434b983f507 to your computer and use it in GitHub Desktop.
Vagrantfile NFS using vagrant-bindfs to speed up Docker on Mac

To speed up volumne mounting between Docker and your Mac:

  1. Install vagrant-bindfs
vagrant plugin install vagrant-bindfs
  1. Update your Vagrantfile:
config.vm.synced_folder "/Path/On/Mac", "/vagrant-nfs", type: :nfs
# Use vagrant-bindfs to re-mount folder
config.bindfs.bind_folder "/vagrant-nfs", "/Path/In/VM"

At time of writing, this solution is still faster than using Docker For Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment