Skip to content

Instantly share code, notes, and snippets.

@brianbianco
Created October 13, 2014 20:36
Show Gist options
  • Save brianbianco/cb8a9f73a39ed1f42934 to your computer and use it in GitHub Desktop.
Save brianbianco/cb8a9f73a39ed1f42934 to your computer and use it in GitHub Desktop.
Shared volumes OS X / Docker
  $ 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"
@fujin
Copy link

fujin commented Oct 13, 2014

Thank you!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment