Created
May 12, 2016 01:21
-
-
Save djui/b77e3a78c32c201c0844d2d253a825e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pwd | |
/Users/uwe/dev/inception-test | |
$ touch hello_inception | |
$ docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/foo docker | |
/ # ls /foo/hello_inception | |
/foo/hello_inception | |
/ # cd /foo | |
/foo # docker run --rm -it -v $(pwd):/foo docker | |
/ # ls /foo/hello_inception | |
ls: /foo/hello_inception: No such file or directory | |
/ # exit | |
/foo # docker run --rm -it -v /Users/uwe/dev/inception-test:/foo docker | |
/ # ls /foo/hello_inception | |
/foo/hello_inception |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment