<p>I use docker desktop and minikube on Windows 10. I found the ip address of local docker repository with <code>minikube docker-env</code> command like below,</p>

<pre><code>&gt; minikube docker-env
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://172.17.105.232:2376
SET DOCKER_CERT_PATH=C:\Users\joseph\.minikube\certs
SET MINIKUBE_ACTIVE_DOCKERD=minikube
REM To point your shell to minikube's docker-daemon, run:
REM @FOR /f "tokens=*" %i IN ('minikube -p minikube docker-env') DO @%i
</code></pre>

<p>And I set the ip address of docker daemon with above <code>DOCKER_HOST</code> value, not <code>localhost</code> and I can use locally built docker images without errors. But in the case of minikube dashboard, the ip address is always localhost(127.0.0.1) when I type <code>minikube dashboard</code> command. So I can not generate kubernetes namespace and persistent volume. It throws error</p>

<blockquote>
  <p>the server could not find the requested resource</p>
</blockquote>

<p>I think this issue is the matter of authorization with different ip addresses. How to configure the static or specific ip address and port number on minukube dashboard so I can generate namespace and persistent volumes without such errors on minikube dashboard?</p>

<p>If I understand correctly you are trying to access kubernetes dashboard from remote host.
When running <code>minikube dashboard</code>, minikube binary runs <a href="https://github.com/kubernetes/minikube/blob/1a19f8f0a5368f4081a8b3f6f10b2635e043b690/cmd/minikube/cmd/dashboard.go#L130" rel="noreferrer"><code>kubectl proxy</code> command under the hood</a>. </p>

<p>By default running <code>kubectl proxy</code> binds to loopback interface of your local machine, therefore it can't be accessed from outside.</p>

<p>You can't change minikube cli bahaviour (without changing source code) but what you can do is to note down path to a dashboard:</p>

<pre><code>/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/
</code></pre>

<p>and run <code>kubectl proxy</code> by your self adding <code>--address</code> paramater with <code>0.0.0.0</code> value.</p>

<p>So now running this you will see:</p>

<pre><code>$ kubectl proxy --address 0.0.0.0
Starting to serve on [::]:8001
</code></pre>

<p>Now open a browser on your remote host and go to:</p>

<pre><code>&lt;your-host-external-ip&gt;:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/
</code></pre>

<p>That's it. Let me know if it helped.</p>
