Created
January 2, 2017 10:52
-
-
Save michaloo/5774d0c5acae5919ed96c8cbbe79a937 to your computer and use it in GitHub Desktop.
Light and fast docker installation on MacOS
This file contains hidden or 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
| # install vbox | |
| brew install docker-machine docker docker-machine-nfs | |
| docker-machine create --driver=virtualbox --virtualbox-disk-size "5120" --virtualbox-no-share default | |
| docker-machine-nfs default --shared-folder=/Users/ --mount-opts="nolock,vers=3,udp,noatime,actimeo=1" |
Author
If your github directory is within you home directory I will suggest leaving this option as is right now.
When you share /Users this will create /Users directory within the virtualbox machine, so when you are in e.g.:
/Users/name/github/project it will match the same path within virtualmachine /Users/name/github/project, then docker will be able to mount these directories transparently.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
--shared-folder to jest ten folder który ma zostać udostępniony dla odpalania maszyn?
jeśli ja mam folder /github/ i w nim mam wszystkie repozytoria to powinienem go wpisać?