kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.5k stars 4.89k forks source link

Minikube reports a different docker version than is installed on the system #19513

Closed dominik-devops closed 2 months ago

dominik-devops commented 2 months ago

What Happened?

I have Ubuntu 22.04 where is only docker 24.0.7 available (through repos). However, when I start minikube, I get message: Preparing Kubernetes v1.30.0 on Docker 26.1.1 ... Why is that, where does minikube gets the reference? When I removed docker from the system minikube would not start at all because of missing docker. This is mystery for me. Also, just to be clear, when docker's installed, it works, but showing awkward version.

Attach the log file

log.txt

Operating System

Ubuntu

Driver

Docker

afbjorklund commented 2 months ago

Minikube runs docker-in-docker, so there are two versions involved here. One for host, one for node.

The version of Docker that is used comes from here: https://docs.docker.com/engine/install/ubuntu/

medyagh commented 2 months ago

good question ! that is the version of the Docker Container Runtime inside minikube

dominik-devops commented 2 months ago

@afbjorklund @medyagh Thanks! Sometimes, I will have to look into configuring minikube more to understand it properly.