use local image with minikube

C++
#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 clusterkubectl port-forward --namespace kube-system \ 
$(kubectl get po -n kube-system | grep kube-registry-v0 | \awk '{print $1;}') 5000:5000

Source

Also in C++: