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

Error creating host: Error creating machine: The system cannot find the path specified #822

Closed
alber70g opened this issue Nov 15, 2016 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. os/windows

Comments

@alber70g
Copy link

BUG REPORT

Minikube version (use minikube version):
v0.12.2

Environment:

  • OS: windows 7
  • VM Driver: virtualbox
  • Docker version (e.g. docker -v): 1.10.2, build c3959b1
  • Install tools:
  • Others: I'm running it on a work environment. This is why there's a network disk what is the home-directory ~. This causes problems when minikube tries to reference the iso.

What happened:
Running minikube start will result in this error:

Error creating host: Error creating machine: Error in driver during machine creation: open /.minikube/cache/iso/minikube-0.7.iso: The system cannot find the path specified.

What you expected to happen:
To install the iso in the virtual box

How to reproduce it (as minimally and precisely as possible):
Have a share where your personal folders reside

Anything else do we need to know:

SOLUTION

Do the following:

  • run minikube delete (to clean up what is here now)
  • run minikube start --show-libmachine-logs so you know where the file is stored
  • move the file that is downloaded to C:/.minikube/cache/iso/minikube-0.7.iso
  • run minikube delete again and retry installing with minikube start
@r2d4 r2d4 added kind/bug Categorizes issue or PR as related to a bug. os/windows labels Nov 15, 2016
@r2d4
Copy link
Contributor

r2d4 commented Nov 15, 2016

Hey thanks for the detailed bug report. We should fix this issue because its pretty common to be running minikube in a work environmnet. This is actually a known issue already and its being tracked here #459

I'm going to close this as a dupe of #459 but we should take another look into fixing this

@r2d4 r2d4 closed this as completed Nov 15, 2016
@alber70g
Copy link
Author

alber70g commented Nov 15, 2016

Thank you very much. Good to close it. I did a quick search and I din't find it, my bad.

There should probably be a way to define a working directory for the minikube so that it doesn't use the home directory (which can be a network share).

@rsantunes
Copy link

Hi,

I had the same issue that was described here, but in my case the root cause was the fact that my minikube was installed in a different partition (D:) than the ISO file downloaded during the start process (C:).
The solution in my case was to move the minikube to a folder inside the C: partition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. os/windows
Projects
None yet
Development

No branches or pull requests

3 participants