diff --git a/pkg/drivers/kic/oci/info.go b/pkg/drivers/kic/oci/info.go index e939032056..f5a37435fd 100644 --- a/pkg/drivers/kic/oci/info.go +++ b/pkg/drivers/kic/oci/info.go @@ -37,7 +37,7 @@ var cachedSysInfoErr *error // CachedDaemonInfo will run and return a docker/podman info only once per minikube run time. to avoid performance func CachedDaemonInfo(ociBin string) (SysInfo, error) { - if cachedSysInfo == nil { + if cachedSysInfo == nil || cachedSysInfoErr != nil { // if cached daemon info has error, try to get a new one si, err := DaemonInfo(ociBin) cachedSysInfo = &si cachedSysInfoErr = &err