diff --git a/pkg/minikube/bootstrapper/kubeadm/templates.go b/pkg/minikube/bootstrapper/kubeadm/templates.go index 9881826f2842..5d8a23a8b69d 100644 --- a/pkg/minikube/bootstrapper/kubeadm/templates.go +++ b/pkg/minikube/bootstrapper/kubeadm/templates.go @@ -60,7 +60,7 @@ bootstrapTokens: - authentication kind: InitConfiguration nodeRegistration: - criSocket: /var/run/dockershim.sock + criSocket: {{if .CRISocket}}{{.CRISocket}}{{else}}/var/run/dockershim.sock{{end}} name: {{.NodeName}} taints: [] ---