<p>Dear StackOverflow community!</p>
<p>I am trying to run the <a href="https://github.com/GoogleCloudPlatform/microservices-demo" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/microservices-demo</a> locally on minikube, so I am following their development guide: <a href="https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/docs/development-guide.md" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/docs/development-guide.md</a></p>
<p>After I successfully set up minikube (using virtualbox driver, but I tried also hyperkit, however the results were the same) and execute <code>skaffold run</code>, after some time it will end up with following error:</p>
<pre><code>Building [shippingservice]...
Sending build context to Docker daemon    127kB
Step 1/14 : FROM golang:1.15-alpine as builder
 ---&gt; 6466dd056dc2
Step 2/14 : RUN apk add --no-cache ca-certificates git
 ---&gt; Running in 0e6d2ab2a615
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: DNS lookup error
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: DNS lookup error
ERROR: unable to select packages:
  git (no such package):
    required by: world[git]
Building [recommendationservice]...
Building [cartservice]...
Building [emailservice]...
Building [productcatalogservice]...
Building [loadgenerator]...
Building [checkoutservice]...
Building [currencyservice]...
Building [frontend]...
Building [adservice]...
unable to stream build output: The command '/bin/sh -c apk add --no-cache ca-certificates git' returned a non-zero code: 1. Please fix the Dockerfile and try again..
</code></pre>
<p>The error message suggest that DNS does not work. I tried to add <code>8.8.8.8</code> to <code>/etc/resolv.conf</code> on a minikube VM, but it did not help. I've noticed that after I re-run <code>skaffold run</code> and it fails again, the content <code>/etc/resolv.conf</code> returns to its original state containing <code>10.0.2.3</code> as the only DNS entry. Reaching the outside internet and pinging <code>8.8.8.8</code> form within the minikube VM works.</p>
<p>Could you point me to a direction how can possible I fix the problem and learn on how the DNS inside minikube/kubernetes works? I've heard that problems with DNS inside Kubernetes cluster are frequent problems you run into.</p>
<p>Thanks for your answers!</p>
<p>Best regards,
Richard</p>

<p>Tried it with docker driver, i.e. <code>minikube start --driver=docker</code>, and it works. Thanks Brian!</p>
