-
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 doesn't mount host's user home directory on VM #716
Comments
Have you verified that its not mounted at |
I also tried a tmpfs on / type tmpfs (rw,relatime,size=917796k) Here again, no sign of the mounted directory |
Well after some investigation it seems like mounting /hosthome never worked with virtualbox. The command is run, but doesn't do anything.
A fix is found in either of these PR - which we should probably include even if they aren't merged in boot2docker/boot2docker#1086 I'll update the incorrect minikube docs for now. Sorry about the indirection |
Yeah, we should merge one of those and make the corresponding change to the rkt ISO. |
Thanks for your replies. Is there anyway I can bypass this in the meantime? |
As a workaround for now, some users have created NFS mounts between the VM and the host. You can find some examples in this issue #2 |
Looks like boot2docker/boot2docker#1088 was merged into boot2docker, so is it possible to get this done now? |
I just started using minikube on Ubuntu and read the section in the readme file that mounting the host wasn't working for linux at the moment, but I just found the /hosthome directory in my virtual machine and there I found my user directory. So I think this is fixed now and the documentation need an update. I'm running in Virtualbox on Ubuntu 16.04
|
@peterrosell you're right! We happily accept PRs, or if not, we will get around to updating the documentation soon. |
See @peterrosell comment on issue kubernetes#716
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
Minikube version : v0.11.0
Environment:
docker -v
): 1.12.2 build bb80604What happened:
My home directory is not mounted on the minkube VM. I tried using 'minikube ssh' to directly find it inside the VM but I can't find it anywhere on the VM
What you expected to happen:
I should normally be able to access this directory through the VM. I need this to provide files to the containers controlled by Kubernetes.
How to reproduce it (as minimally and precisely as possible):
Run
minikube start
thenminikube ssh
. In the shell we are unable to find the mounted host directory under any namesAnything else do we need to know:
Running the virtualbox GUI, the minikube VM correctly shows the mounted directory.
While running
minikube ssh
the docker version of the VM is shown: 1.11.1 build5604cbeThe text was updated successfully, but these errors were encountered: