How do I change the location of .minikube folder?

5/13/2020

How do I change the location of the entire .minikube folder that gets created when you run minikube? (Windows 10 system using Hyper-V)

C:\Users\username\.minikube
-- erotavlas
kubernetes
minikube

1 Answer

5/14/2020

I think the most painless method will be

  1. Remove minikube
  2. change minikube install location with MINIKUBE_HOME var

    set MINIKUBE_HOME=D:\Uerotavlas.minikube

  3. start cluster again

-- VKR
Source: StackOverflow