Traoré Moussa
Traoré Moussa

Reputation: 523

Use my local docker registry instead of minikube's

I am using minikube as my kubernetes cluster. I would like to know if there is a way to redirect minikube's docker environnement to my local environnement instead of doing the opposite with the following command:

eval $(minikube docker-env)

The problem when using the latest is that when I build a image it is destroyed whenever minikube is deleted and has to be rebuilt everytime which takes 30-40 minutes.

Upvotes: 0

Views: 446

Answers (1)

delfer
delfer

Reputation: 544

If you want to use your host's docker for minicube, you can just do

minikube start --vm-driver=none

It does not requires any VMs, works fast and use your host's docker. But prefer docker version 1.13

Upvotes: 1

Related Questions