Hacker News new | ask | show | jobs
by nahiluhmot 3999 days ago
You have to manually specify the folders you want shared in the arguments to the command. For example, running this:

   docker run -v /tmp/:/host-tmp/ ubuntu:14.04 bash -lc "echo 'TEST123' > /host-tmp/test"
Should create a file on your host's filesystem called "/tmp/test" with the text "TEST123".