On Windows 11 Home, Docker Desktop
I am trying to learn Kubernetes and was trying out step 4 of this official tutorial
I got this error and don’t know what terminal it is referring to.
my@DESKTOP:/mnt/c/kubernetes-tutorial$ minikube service web --url
❗ Because you are using a Docker driver on linux, the terminal needs to be open to run it.
I opened Docker desktop and went to the minikube that is running and opened the CLI terminal and ran the command again, but it failed.
in the docker cli terminal:
# minikube service web --url
/bin/sh: 1: minikube: not found
I am stuck here.
I tried again after deleting all images and minikube.
minikube service web --url
🏃 Starting tunnel for service web.
email@example.com's password: ❗ Because you are using a Docker driver on linux, the terminal needs to be open to run it.
I still get the “hung” terminal window prompt but I see the IPv4 address.
So I continued with the tutorial
/mnt/c/kubernetes-tutorial$ kubectl apply -f ./example-ingress.yaml
/mnt/c/kubernetes-tutorial$ kubectl get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
example-ingress nginx hello-world.info 192.168.49.2 80 23m
me@DESKTOP:/mnt/c/kubernetes-tutorial$ minikube ip
me@DESKTOP:/mnt/c/kubernetes-tutorial$ curl 192.168.49.2
me@DESKTOP:/mnt/c/kubernetes-tutorial$ curl hello-world.info
curl: (28) Failed to connect to hello-world.info port 80: Connection timed out
From a web browser, putting the ip address also times out.