Skip to content

Instantly share code, notes, and snippets.

@janhalfar
Created December 11, 2015 16:11
Show Gist options
  • Save janhalfar/074af00bd3c93e955ca1 to your computer and use it in GitHub Desktop.
Save janhalfar/074af00bd3c93e955ca1 to your computer and use it in GitHub Desktop.
boot2docker docker-machine on a mac mounting with nfs
# add this line to your nfs exports and restart nfsd with sudo nfsd restart
/Users/<name>/path/to/www -mapall=<name> -network 192.168.99 -mask 255.255.255.0
# start nfs client service
/usr/local/etc/init.d/nfs-client start
# create mount point
mkdir /var/www
# mount your mac export
mount.nfs 192.168.99.1:/Users/<name>/path/to/www /var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment