Answers for "use local image with minikube"

0

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
Posted by: Guest on December-28-2020
0

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
Posted by: Guest on November-17-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language