Skip to content

Commit

Permalink
Prefer "minikube delete" over "rm -rf ~/.minikube"
Browse files Browse the repository at this point in the history
Using `rm -Rf ~/.minikube` is not necessary in modern (v1.x) versions of minikube, and is highly discouraged as may can leave dangling VM's running, which minikube will fail to recover from. 

Example issue: kubernetes/minikube#4377
  • Loading branch information
tstromberg committed May 30, 2019
1 parent f6b8449 commit 1720d37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/tasks/tools/install-minikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ To install Minikube manually on windows using [Windows Installer](https://docs.m

{{% /capture %}}

## Cleanup everything to start fresh
## Cleanup local state

If you have previously installed minikube, and run:
```shell
Expand All @@ -153,7 +153,7 @@ And this command returns an error:
machine does not exist
```

You need to wipe the configuration files:
You need to clear minikube's local state:
```shell
rm -rf ~/.minikube
minikube delete
```

0 comments on commit 1720d37

Please sign in to comment.