<p>I follow <a href="https://kubernetes.io/docs/setup/learning-environment/minikube/" rel="nofollow noreferrer">the guide</a> to install a test minikube on my virtualbox of ubuntu-18.04.
It's a virtualbox on my windows computer.so I use 
sudo minikube start --vm-driver=none
to start minikube.
then execute minikube dashboard ....I can access <a href="http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" rel="nofollow noreferrer">http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/</a> with the generated token.
Everything is well by now.</p>

<p>BUT I need to poweroff my computer on weekends. So I stop minikube and shutdown the ubuntu vm.</p>

<pre><code>sudo minikube stop
sudo shutdown
</code></pre>

<p>When I back to work on Monday, I can't access the dashboard UI WEB,
<code>sudo minikube dashboard</code> hangs until I press Ctrl+C.
<a href="https://i.stack.imgur.com/YHSHh.png" rel="nofollow noreferrer">minikube dashboard hangs until I press Ctrl+C</a></p>

<p>How can I restore the wei ui? or is there anything I need to do before shutdown the vm?</p>

<p><code>minikube dashborad</code> starts alongside <code>kubectl proxy</code>. The process waits for <code>kubectl proxy</code> to finish but apparently it never does, therefore the command never exits or ends. This is happening because of a security precautions. <code>kubectl proxy</code> runs underneath to enforce additional security restrictions in order to prevent DNS repining attacks.</p>

<p>What you can do is restart the <code>minikube</code> with a current config and data cleanup and than start a fresh new instance:</p>

<pre><code>minikube stop
rm -rf  ~/.minikube
minikube start
</code></pre>

<p>Please let me know if that helped. </p>
