-
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
Minikube mount fails in v0.19.0 #1473
Comments
As a temp workaround, I'm using minikube
|
Thanks for reporting this. This has to do with minikube now assuming that you are using vboxnet0 when registering the mount. We should fix this so that minikube properly identfies which network interface the minikubeVM is running on. In the meantime I believe you can configure the network interface that virtualbox uses from the vbox UI. Changing the interface from vboxnetN to vboxnet0 should fix the issue for now. |
We should add a flag to mount so that users can specify the ip to use. We should also look at the vbox driver implementation and copy how it find the right interface and duplicate that so that the default interface is correct |
I'm having similar difficulties, and the suggested workaround (changing the virtualbox network interface) causes other problems. I'm having to revert to 0.18.0 to get my work done. |
Closing. This has been fixed with #1481 and will be available in the next release of minikube. |
I'm still having this problem with v0.21.0 on windows 10 with hyper-v
|
Also having the same problem on Windows 8.1 with virtualbox and v0.21.0
|
Same problem on Windows 7 and v0.22.2 |
The same problem on windows 7 and v0.21.0 |
Is there any work around for this? |
Work around for me: I renamed my interface to "VirtualBox Host-Only Ethernet Adapter #2" and minikube mount work! |
Or you can use virtual box shared folders instread minikube mount |
I'm reproducing this in |
See my previous comment. It works for me. |
Hi @makcumka2000 - thanks - I was hoping someone could provide in-depth instructions as I'm a newbie (and I imagine many others are too). I don't know exactly know the meaning of My setup is a standard for Mac OS setup. I followed all the standard documentation to get here. My mount command: $ sudo minikube mount /opt/software/app/nginx/etc/nginx:/etc/nginx My error:
UPDATEI had tried This daemon process needs to stay alive for the mount to still be accessible...
E0806 11:13:44.674567 18650 mount.go:127] Error finding port for mount: Error accessing port 0 |
@adamhenson it means your virtual machine turn off. |
Hmmm nope @makcumka2000. That was the output when i used
@makcumka2000 - |
@makcumka2000 - I found an issue mine is probably more related to: #2442. I'll add any further comments over there. Thanks for trying though. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Minikube version (use
minikube version
): v0.19.0Environment:
What happened:
minikube mount
command fails inv0.19.0
, which was working in minikubev0.18.0
.It exits with error:
What you expected to happen:
Expected the host directory to be mounted within minikube VM
How to reproduce it (as minimally and precisely as possible):
minikube start --insecure-registry="192.168.0.2:5000" --memory 4096 --vm-driver="virtualbox"
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: