Skip to content

Commit

Permalink
Add installtion instructions URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
amtenllc committed Jul 20, 2022
1 parent 50c75e9 commit 8b6fdbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/minikube/cruntime/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"k8s.io/minikube/pkg/minikube/config"
"k8s.io/minikube/pkg/minikube/docker"
"k8s.io/minikube/pkg/minikube/download"
"k8s.io/minikube/pkg/minikube/out"
"k8s.io/minikube/pkg/minikube/style"
"k8s.io/minikube/pkg/minikube/sysinit"
)
Expand Down Expand Up @@ -109,9 +110,11 @@ func (r *Docker) Available() error {
// If Kubernetes version >= 1.24, require both cri-dockerd and dockerd.
if r.KubernetesVersion.GTE(semver.Version{Major: 1, Minor: 24}) {
if _, err := exec.LookPath("cri-dockerd"); err != nil {
out.ErrT(style.Fatal, `cri-dockerd is not installed, please install using these instructions: https://github.com/Mirantis/cri-dockerd#build-and-install, {{.error}}`, out.V{"error": err})
return err
}
if _, err := exec.LookPath("dockerd"); err != nil {
out.ErrT(style.Fatal, `dockerd is not installed, please install using these instructions: https://docs.docker.com/engine/reference/commandline/dockerd/, {{.error}}`, out.V{"error": err})
return err
}
}
Expand Down

0 comments on commit 8b6fdbf

Please sign in to comment.