Skip to content

Instantly share code, notes, and snippets.

@3den
Last active April 5, 2016 16:38
Show Gist options
  • Save 3den/2dbebfa2be0846c51a737d595ad362c4 to your computer and use it in GitHub Desktop.
Save 3den/2dbebfa2be0846c51a737d595ad362c4 to your computer and use it in GitHub Desktop.
# this command syncs docker-machine running on virtualbox with your current working directory
# replace "/app/user" with the path where your app will be mounted on the docker container
# $(pwd) this will return your local folder and sync it with the equivalen folder on virtualbox
# make sure to stop your docker-machine before running this command
VBoxManage sharedfolder add DFC --automount --name /app/user --hostpath $(pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment