Hi there,
i am getting below error while executing minikube.exe start . Below is the complete output.
C:\Kubernetes>minikube.exe start
same issue occurs on my mac
minikube version: v1.9.2
This VM is having trouble accessing https://k8s.gcr.io
๐ก To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/
issue occurs when using below commands:
minikube start --docker-env HTTP_PROXY=xxx
When I run with splitting two steps , no error occurs
export HTTP_PROXY=xxx
minikube start
@DasyDong yeah --docker-env is not going to do what you want it to, since you need HTTP_PROXY to be a local environment variable, not one inside the container runtime.
Our documentation (https://minikube.sigs.k8s.io/docs/handbook/vpn_and_proxy/) explicitly says exporting the environment variable is the correct idea. We'll fix the broken link in our output.
@rohit94j If you're behind a VPN or proxy, try looking at the link I linked above, otherwise try adding --image-repository=auto to your minikube start call.
@DasyDong yeah
--docker-envis not going to do what you want it to, since you needHTTP_PROXYto be a local environment variable, not one inside the container runtime.Our documentation (https://minikube.sigs.k8s.io/docs/handbook/vpn_and_proxy/) explicitly says exporting the environment variable is the correct idea. We'll fix the broken link in our output.
sounds good for me
@rohit94j c@DasyDong do you still need help ?
Meanwhile have you tried out newest driver Docker Driver with latest version of minikube?
you could try
minikube delete
minikube start --driver=docker
for more information on the docker driver checkout:
https://minikube.sigs.k8s.io/docs/drivers/docker/
I'm going to go ahead and close this, feel free to reopen this if it remains an issue.
Just starting learning k8s.
I still have this issue:
๐ minikube v1.15.1 on Fedora 33
โจ Automatically selected the docker driver
โ
Using image repository
๐ Starting control plane node minikube in cluster minikube
๐ฅ Creating docker container (CPUs=2, Memory=2200MB) ...
โ This container is having trouble accessing https://k8s.gcr.io
๐ก To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/
๐ณ Preparing Kubernetes v1.19.4 on Docker 19.03.13 ...
๐ Verifying Kubernetes components...
๐ Enabled addons: storage-provisioner, default-storageclass
๐ Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
Most helpful comment
Just starting learning k8s.
I still have this issue:
๐ minikube v1.15.1 on Fedora 33
โจ Automatically selected the docker driver
โ Using image repository
๐ Starting control plane node minikube in cluster minikube
๐ฅ Creating docker container (CPUs=2, Memory=2200MB) ...
โ This container is having trouble accessing https://k8s.gcr.io
๐ก To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/
๐ณ Preparing Kubernetes v1.19.4 on Docker 19.03.13 ...
๐ Verifying Kubernetes components...
๐ Enabled addons: storage-provisioner, default-storageclass
๐ Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default