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

Created on 15 Nov 2016  路  3Comments  路  Source: kubernetes/minikube

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
kinbug owindows

Most helpful comment

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

All 3 comments

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 https://github.com/kubernetes/minikube/issues/459

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

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).

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

Was this page helpful?
0 / 5 - 0 ratings