Skip to content

Instantly share code, notes, and snippets.

@fordlee404
fordlee404 / boot2docker-NFS.md
Last active August 29, 2015 14:25 — forked from haggen/README.md
boot2docker on nfs

A script to switch boot2docker to use NFS instead of VBoxfs for speed.

1) In your Mac, open the file /etc/nfs.conf and add this line:

nfs.server.mount.require_resv_port = 0

2) Then, open /etc/exports and add this line, changing the values to match your case:

(function() {
var newScript, load,
firstScriptTag = document.getElementsByTagName('script')[0];
load = function load(url) {
newScript = document.createElement('script');
newScript.async = true;
newScript.src = url;
firstScriptTag.parentNode.insertBefore(newScript, firstScriptTag);