title: No connection could be made because the target machine actively refused it. "Kubernetes on Docker for Windows"
body: <p>I have installed the Edge version of Docker for Windows 18.05.0-ce (Windows 10 Hyper-V) and enabled Kubernetes afterwards.<br>
  On my other machine a kubectl context was created automatically, but on this new machine it was not.</p>
  
  <pre><code>&gt; kubectl config get-contexts
  CURRENT   NAME      CLUSTER   AUTHINFO   NAMESPACE
  &gt; kubectl version
  Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
  Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
  </code></pre>
  
  <p>Can i some how make Docker for Windows create the context?<br>
  Or can I set it up manually?<br>
  I am a little unsure how to get the infomation needed for the <code>kubectl config set-context</code> command.</p>
  
  <p>I can run docker containers outside of Kubernetes.<br>
  I see the Kubernetes containers running inside Docker.</p>
  
  <pre><code>&gt; docker ps
  CONTAINER ID        IMAGE                            COMMAND
  8285ca0dd57a        353b8f1d102e                     "kube-scheduler --ad…"
  3b25fdb0b7a6        40c8d10b2d11                     "kube-controller-man…"
  e81db90fa68e        e03746fe22c3                     "kube-apiserver --ad…"
  2f19e723e0eb        80cc5ea4b547                     "/kube-dns --domain=…"
  etc...
  </code></pre>