<p>I am trying to start minikube behind a corporate proxy on Windows machine. I am using the following start command</p>

<pre><code>minikube start --alsologtostderr --vm-driver="hyperv" --docker-env http_proxy=http://proxyabc.uk.sample.com:3128 --docker-env https_proxy=http://proxyabc.uk.sample.com:3128 --docker-env "NO_PROXY=localhost,127.0.0.1,192.168.211.157:8443"
</code></pre>

<p><strong>minikube version = 0.28.0</strong></p>

<p><strong>kubectl version = 1.9.2</strong></p>

<p>I've also tried setting the no proxy variable before the command</p>

<p>set NO_PROXY="$NO_PROXY,192.168.211.158/8443"</p>

<p>But everytime I run the "minikube start" command I end up with the following message</p>

<p><strong><em>Error starting cluster:  timed out waiting to unmark master: getting node minikube: Get <a href="https://192.168.211.155:8443/api/v1/nodes/minikube" rel="nofollow noreferrer">https://192.168.211.155:8443/api/v1/nodes/minikube</a>: Forbidden</em></strong></p>

<p>I have already tried solutions at </p>

<p><a href="https://github.com/kubernetes/minikube/issues/2706" rel="nofollow noreferrer">https://github.com/kubernetes/minikube/issues/2706</a>
<a href="https://github.com/kubernetes/minikube/issues/2363" rel="nofollow noreferrer">https://github.com/kubernetes/minikube/issues/2363</a></p>

<blockquote>
  <p><code>set NO_PROXY="$NO_PROXY,192.168.211.158/8443"</code></p>
</blockquote>

<p>That slash is not the port, it's the <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing" rel="nofollow noreferrer">CIDR</a> which defines how many IPs should be excluded from the proxy. Separately, it appears you somehow included the colon in the one provided to <code>--docker-env</code>, which I think is also wrong.</p>

<p>And, the <code>$NO_PROXY,</code> syntax in your <code>set</code> command is also incorrect, since that's the unix-y way of referencing environment variables -- you would want <code>set NO_PROXY="%NO_PROXY%,...</code> just be careful since unless you <em>already have</em> a variable named <code>NO_PROXY</code>, that <code>set</code> will expand to read <code>set NO_PROXY=",192.168.etcetc"</code> which I'm not sure is legal syntax for that variable.</p>
