Created
December 17, 2015 15:34
-
-
Save janhalfar/7e23ff671c4017a72f6d to your computer and use it in GitHub Desktop.
mount boot 2 docker nfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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