julien-duponchelle / docker-osx

Fast and easy installation of Docker on OS X
1.02k stars 70 forks source link

Mount home directory on VM #16

Closed bfirsh closed 10 years ago

bfirsh commented 10 years ago

It is mounted at /Users/username on the VM so using volumes within your home directory more-or-less works seamlessly.

E.g. you could use this to mount some code you're working on inside a container:

$ docker run -v pwd:/opt myimage python app.py

bfirsh commented 10 years ago

Just going to merge this because it's getting some interest on HN!