Hi i try to generate some assets within a docker container and put it to a host. All that is running within a docker-machine environment initialised with virtualbox driver.
for example i run:
docker run -it -v $PWD/testfolder:/var/www:rw ubuntu /bin/bash
and then
root@b9e73827bc3c:/var/www touch dummy.txt
from that point i actually have to see dummy.txt in my host's $PWD/testfolder folder, but there is neither a folder testfolder nor dummy.txt in it(logicly).
The weired thing, the same setup works correct on MacOSX and creates files on a host end, but when i tried it Ubuntu:14.04 it stopped working.
here are both container inspect on
- MacOSX host: https://gist.github.com/zavalit/65e8a260866f834223616c1b59e4ce7d
- Ubuntu:14.04 host: https://gist.github.com/zavalit/40bd3ce8629ad81fcd6793ca63f99491
as far as i can see, they are both quite identical.
it tried it with both docker-machine version 0.7.0-rc2 and 0.6.0, docker version is 1.10.3
did anyone experienced, stuff like that? i'm pretty much appreciate any possible tipps. thx.