Created
October 13, 2014 20:36
-
-
Save brianbianco/cb8a9f73a39ed1f42934 to your computer and use it in GitHub Desktop.
Shared volumes OS X / Docker
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
$ cd ~/.boot2docker | |
$ curl http://static.dockerfiles.io/boot2docker-v1.2.0-virtualbox-guest-additions-v4.3.14.iso > boot2docker.iso | |
$ boot2docker init | |
$ VBoxManage sharedfolder add boot2docker-vm -name home -hostpath /Users | |
$ boot2docker up | |
$ boot2docker ssh "sudo modprobe vboxsf && mkdir -v -p /Users && sudo mount -v -t vboxsf -o uid=0,gid=0 home /Users" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!!!!