Skip to content

Instantly share code, notes, and snippets.

@janhalfar
Created December 17, 2015 15:34
Show Gist options
  • Save janhalfar/7e23ff671c4017a72f6d to your computer and use it in GitHub Desktop.
Save janhalfar/7e23ff671c4017a72f6d to your computer and use it in GitHub Desktop.
mount boot 2 docker nfs
# start nfs client
docker-machine ssh default sudo /usr/local/etc/init.d/nfs-client start
# create mount point
docker-machine ssh default sudo mkdir /var/www
# mount your mac export
docker-machine ssh default sudo mount.nfs 192.168.99.1:/Users/jan/www /var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment