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
4
10
kubectl port-forward --namespace kube-system \
$(kubectl get po -n kube-system | grep kube-registry-v0 | \awk '{print $1;}') 5000:5000
Thank you!
10
0
Are there any code examples left?
New code examples in category Shell/Bash