<p>I have a local minikube cluster on hyper-v, when i try to pull images from my private repository i get this error :</p>

<p><em>Failed to pull image "my-repolink/image": rpc error: code = Unknown desc = Error response from daemon: Get my-repolink/v2/: x509: certificate signed by unknown authority</em></p>

<p>When running  <code>minikube docker-env</code>  i get:</p>

<pre><code>$Env:DOCKER_TLS_VERIFY = "1"
$Env:DOCKER_HOST = "tcp://IP:2376"
$Env:DOCKER_CERT_PATH = "C:\Users\myuser\.minikube\certs"
$Env:MINIKUBE_ACTIVE_DOCKERD = "minikube"
</code></pre>

<p>I was wanderring if i can change the DOCKER_TLS_VERIFY to "0" (if yes how plz?) and if it will have any effect on this error?</p>

<p>You need to tell minikube which certificates to trust. The <a href="https://minikube.sigs.k8s.io/docs/reference/networking/proxy/#x509-certificate-signed-by-unknown-authority" rel="nofollow noreferrer">official doc</a> mentions this specific issue.</p>

<p>The suggestion is to put the appropriate self-signed ceritificate of your private registry into <code>~/.minikube/files/etc/ssl/certs</code>; then run <code>minikube delete</code> followed by <code>minikube start</code>.</p>
