Answers for "use local image with minikube"


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


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