Install Docker on Minikube

I was  having issue with Minikube. It was unable to connect to docker-registry via VPN. It's actually a known issue that some VPN software is not forwarding the traffic to Minikube if not white-listed.

Since I don't have access to add the white-list, then I have to do this trick:

  • run this command on terminal
eval $(minikube docker-env)

  • build docker on that terminal
docker build -t image-to-build -f Dockerfile

  • Confirm that build is accessible
minikube ssh
docker images

That's it. Have fun

Comments