use local docker image in minikube code example
Example 1: use local image with minikube
#reuse the Docker daemon from Minikube
eval $(minikube docker-env)
#Build the image with the Docker daemon of Minikube
docker build -t my-image .
#my-image ready to use on Minikube cluster
Example 2: how-to-use-own-local-doker-images-with-minikube
kubectl port-forward --namespace kube-system \
$(kubectl get po -n kube-system | grep kube-registry-v0 | \awk '{print $1;}') 5000:5000