<p>I'm running Docker Desktop 3.6.0 on Windows 10 with WSL2.
When I try to enable Kubernetes I only see &quot;Failed to start&quot; within the Docker Desktop UI.
Docker itself works fine. Not sure how I can get any further logs.</p>
<p>Here the output from kubectl version:</p>
<pre><code>kubectl version
Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;21&quot;, GitVersion:&quot;v1.21.3&quot;, GitCommit:&quot;ca643a4d1f7bfe34773c74f79527be4afd95bf39&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2021-07-15T21:04:39Z&quot;, GoVersion:&quot;go1.16.6&quot;, Compiler:&quot;gc&quot;, Platform:&quot;windows/amd64&quot;}
Error from server (InternalError): an error on the server (&quot;&quot;) has prevented the request from succeeding
</code></pre>
<p>From other posts it seems that and internet connections is required for initial setup:</p>
<ul>
<li><a href="https://stackoverflow.com/a/52765732/1100559">https://stackoverflow.com/a/52765732/1100559</a></li>
<li><a href="https://stackoverflow.com/a/63318739/1100559">https://stackoverflow.com/a/63318739/1100559</a></li>
</ul>
<p>Direct internet connection is not possible on my work environment, I can only manually copy required images on my pc.
I also do not have admin access.</p>
<p>Is there a way to manually setup Kubernetes on Docker Desktop or somehow indicate where the required images can be found?</p>
<p>I have a nexus Docker repository where I can push required images to.
I have changed the <code>~\.docker\daemon.json</code> and added my docker repository in insecure-registries. After first login docker is able to pull images from there and run them.</p>
<p>Already tried to reset or enable and disable Kubernetes. Also deleting ~/.kube/config did not work.</p>

<p>High level answer...</p>
<ol>
<li>Get a docker registry
<ol>
<li>If you work for an old skool cool enterprise; use <a href="https://jfrog.com/artifactory" rel="nofollow noreferrer">JFrog Artifactory</a></li>
<li>If you just want to get it to work; use <a href="https://goharbor.io/" rel="nofollow noreferrer">Harbor</a></li>
<li>GitHub and GitLab (depending on license) have registries available too...</li>
</ol>
</li>
<li>Edit the docker daemon on the kubernetes nodes (your workstation) to only pull from these registries.
<ol>
<li>if redhat; <code>/etc/containers/registries.conf</code></li>
<li>if debain; <code>/etc/docker/daemon.json</code></li>
<li>you might be able to hack a <code>/etc/hosts</code> entry too...</li>
</ol>
</li>
<li>Populate the new registry</li>
<li>Run kubernetes and yoiu should be good to go.  Depending on the configuration you choose you may need to add a <a href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/" rel="nofollow noreferrer">registry credential secret</a>.</li>
</ol>
