This has security implications that you should understand before applying this to any old cluster... What is "safe" (or at least reasonable risk/convenience tradeoff) on your laptop k8s clsuter is completely different than even a dev/test cluster, much less production.
Deploy the dashboard using the recommended configuration:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml
Get the default token and add it to your kubeconfig:
kubectl config set-credentials docker-desktop --token="$(kubectl describe secret default | grep token: | awk '{print $2}')"