Use my local docker registry instead of minikube's

10/23/2017

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.

-- Traoré Moussa
docker
kubernetes
minikube

1 Answer

10/24/2017

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

-- delfer
Source: StackOverflow