<p>Is there a way to configure Portainer's dashboard to show Minikube's docker?</p>

<p><strong>Portainer</strong></p>

<p>Installed in the local docker (toolbox), on VM under windows 7;
the dashboard connection to the local (inside) docker is working fine.</p>

<p><code>docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer</code></p>

<p><strong>Minikube</strong></p>

<p>Installed in another VM on the same machine with a different port.</p>

<ul>
<li>I've created a new Portainer Endpoint using the portainer UI</li>
<li>Set the Endpoint URL (minikubeIp:2375)</li>
<li>Selected TLS and point to the path of the cert files</li>
</ul>

<p><code>c:/users/&lt;myusername&gt;/.minikube/certs</code></p>

<p>but keep getting an error on the dashboard tab:</p>

<blockquote>
  <p>Failed to load resource: the server responded with a status of 502 (Bad Gateway)</p>
</blockquote>

<p>I'm getting the same error also when configuring the Endpoint <em>without</em> TLS.</p>

<p>Is it <em>possible</em> to configure Portainer to work with Minikube's Docker?</p>

Yuval Simhon
<p>Are you sure that the Docker API is exposed in the Minikube configuration?</p>

<blockquote>
  <p>Failed to load resource: the server responded with a status of 502 (Bad Gateway)</p>
</blockquote>

<p>This error is generally raised when Portainer cannot proxy requests to the Docker API.</p>

<p>A simple way to verify that would be to use the Docker CLI and check if Minikube's Docker API is exposed:</p>

<p><code>docker -H minikubeIp:2375 info</code></p>

<p>If this is returning a connection error, that means that the Docker API is not exposed and thus, Portainer will not be able to connect to it.</p>
