Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does NFS work? #159

Closed
mrjackdavis opened this issue Mar 17, 2016 · 3 comments
Closed

How does NFS work? #159

mrjackdavis opened this issue Mar 17, 2016 · 3 comments

Comments

@mrjackdavis
Copy link

Hi,

This is probably human error, but I'm trying to figure out how NFS works. The readme doesn't quite explain it enough for me.

My process so far

$ brew update
$ brew install dinghy
$ dinghy create
$ dinghy up
$ docker run -i -t ubuntu /bin/bash
$(docker) ls /
> bin  boot  dev    etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

I expected to see /Users/me. But I did not. Please explain where I am going wrong.

@ryansch
Copy link
Contributor

ryansch commented Mar 17, 2016

You would see it with dinghy ssh. You have to bind mount into the docker container for it to have access: docker run -it -v /Users/me:/Users/me ubuntu /bin/bash

@mrjackdavis
Copy link
Author

Thanks @ryansch.

It was not apparent to me that the usage of NFS was transparent to the container. Perhaps the docs could use a little improvement? I'd be happy to submit a PR

@codekitchen
Copy link
Owner

👍 documentation improvements are always welcome. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants