Minikube error trouble accessing https://k8s.gcr.io

 

Minikube

I'm playing with MiniKube and I'm experiencing this error at startup

This container is having trouble accessing https://k8s.gcr.io


More details:
😄 minikube v1.15.1 on  Centos 8.2.2004
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

Many guide suggest to set proxy or change driver mode, I fixed in this simple way:
 ~ sudo systemctl restart docker.service
 ~ minikube delete
 ~ minikube start --driver=docker


Share on Google Plus

About Vittorio Pavesi

    Blogger Comment
    Facebook Comment

1 commenti:

Anonymous said...

awesome! it worked for me as well