Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority

Hi,

When I install kubernetes in windows and start using virtualbox, Kubernetes is not able to pull nginx image from docker due to certificate issue. How can I resolve this issue?

The steps works fine from KodeCloud Labs.

Events:
Type Reason Age From Message


Normal Scheduled 14s default-scheduler Successfully assigned default/nginx to minikube
Normal Pulling 8s kubelet Pulling image “nginx”
Warning Failed 7s kubelet Failed to pull image “nginx”: rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unkno
wn authority
Warning Failed 7s kubelet Error: ErrImagePull
Normal BackOff 6s kubelet Back-off pulling image “nginx”
Warning Failed 6s kubelet Error: ImagePullBackOff

Hi @rasivasu , sorry to hear that. Are you still having this problem?

Regards,
Vitor Jr.
KodeKloud Support