-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Unable to manually mount directories on minikube VM using nfs #744
Comments
Thanks for the detailed report. This is a solution for Mac which should be similar to Ubuntu. Make sure to run it in the VM: |
@bmerlet90 Any success setting up NFS in minikube yet? |
@bmerlet90 using the buildroot ISO will allow your host
If you'd like to skip passing this flag everytime you create a minikube VM, you should set the environmental variable
|
@r2d4 no the given command doesn't solve this issue. Do I have to upgrade the minikube version (to the new v0.12.2) in order for this to work? |
Did you do a |
A collaborator tried the
suggested, but got:
|
Closing. We have recently added the |
@aaron-prindle can we have minikube mount at boot ? EDIT : responding myself : Just pass |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Minikube version : v0.12.0
Environment:
docker -v
): 1.12.2 build bb80604What happened:
I'm trying to resolve my previous issue ( #716 ) using comments from #2 as suggested by @r2d4. In order to do this I'm trying to manually mount my directory to the minikube VM.
I configured my
/etc/exports
like this:/home/user/share 192.168.99.100(rw, no_root_squash,no_subtree_check,sync,insecure)
I tried these mount commands:
The returned error is :
I then tried to use the mount command from the host side:
and
For both commands, I get the same type of error:
but the command
minikube ip
returns the correct ip address192.168.99.100
and the folder hostshare does exist on the VMIs there something I missed? Is the minikube VM ip different than the one given by the
minikube ip
command?What you expected to happen:
I expected the mount to be successful ...
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know:
When I use
ping 192.168.99.100
, there is no packets lost so the ip address should be the correct one.The text was updated successfully, but these errors were encountered: