3 ms·
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:1
by nahiluhmot 11y 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".