News for hackers. Stuff that matters.
Re:Ask HN: Do you use Vagrant or Docker for active development? by dnt404-1 on Friday July 10, 2015 @11:52AM (#9864639)
Thank you for clearing that up. So, does this work like Vagrant's mount folders? Does the container then find the path to the host's development artifacts?
Re:Ask HN: Do you use Vagrant or Docker for active development? by nahiluhmot on Friday July 10, 2015 @03:33PM (#9866244)
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".