What Does the "driver not supported" Error Mean in Minikube
The minikube driver not supported error (or the more complete message The specified driver is not supported on this platform) occurs when Minikube cannot find, initialize, or use the selected driver to create the virtual machine or container in which Kubernetes components will run.
Typical scenario for appearance:
You run the command minikube start --driver=docker (or with another driver) and receive output indicating that the driver is unsupported, unavailable, or cannot be initialized. This happens during the environment check phase before cluster creation.
Causes
- Driver is not installed. Minikube detected the presence of a driver (e.g.,
docker) in the system, but the binary file or its service was not found. - Driver service is not running. The driver (Docker, Podman, VirtualBox) is installed, but its background process (daemon) is not active.
- Lack of access permissions. The current user does not have permissions to interact with the driver's socket (e.g.,
/var/run/docker.sockfor Docker). - Version incompatibility. An outdated or too new version of the driver is installed, which is incompatible with the current Minikube version.
- Driver is not supported on this platform. For example, attempting to use
hypervon Linux orvirtualboxwithout installed kernel modules. - Conflict with SELinux/AppArmor. Security policies may block Minikube's access to driver resources.
Solutions
Solution 1: Check and Start the Driver Service (for Docker/Podman)
The most common cause is a stopped container engine service.
- Check the Docker service status:
sudo systemctl status docker
If the service isinactive, start it:sudo systemctl start docker sudo systemctl enable docker # To start automatically on boot
For Podman, replacedockerwithpodman. - Restart Minikube with an explicit driver specification:
minikube start --driver=docker
Solution 2: Configure Access Permissions (docker/podman group)
If the service is running but Minikube still cannot connect, the problem is most likely permissions.
- Check which groups your user belongs to:
groups
The output should include thedocker(orpodman) group. - If the group is missing, add the current user to it:
sudo usermod -aG docker $USER
Important: Changes take effect after logging out and back in (or rebooting). Opening a new terminal is not sufficient. - After logging back in, check access:
docker ps # Should show a list of containers without 'permission denied' errors
Now theminikube start --driver=dockercommand should work.
Solution 3: Use an Alternative Driver
If configuring Docker/Podman is undesirable or impossible, use other drivers.
podmandriver: A full Docker replacement. Ensure Podman is installed (sudo apt install podman), the service is running (sudo systemctl start podman), and the user is in thepodmangroup.minikube start --driver=podmannonedriver (without virtualization): Runs Kubernetes components directly on the host system. Requires manual configuration of cgroups and network namespaces. Suitable for advanced scenarios or CI.sudo minikube start --driver=none
Caution: Thenonedriver requires cgroups v2 to be enabled. See instructions below.
Solution 4: Enable cgroups v2 for the none Driver
The driver not supported error when using --driver=none is often caused by inactive cgroups version 2.
- Edit the GRUB configuration:
sudo nano /etc/default/grub - Find the
GRUB_CMDLINE_LINUXline and add the parametersystemd.unified_cgroup_hierarchy=1. Example:GRUB_CMDLINE_LINUX="... systemd.unified_cgroup_hierarchy=1" - Update the GRUB configuration and reboot:
sudo update-grub sudo reboot - After reboot, verify cgroups v2 activation:
Nowmount -t cgroup2 none /sys/fs/cgroup # Should mount without errorsminikube start --driver=noneshould pass the driver check.
Solution 5: Reinstall/Update Minikube and the Driver
The issue may be a version mismatch.
- Update Minikube to the latest stable version:
sudo apt remove minikube # If installed via apt curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo install minikube-linux-amd64 /usr/local/bin/minikube - Reinstall the driver (e.g., Docker):
sudo apt purge docker.io docker-ce containerd sudo apt update sudo apt install docker.io sudo systemctl start docker sudo systemctl enable docker - Retry the Minikube start command.
Prevention
- Always add the user to the driver's group (
docker/podman) immediately after installing the engine. - Use stable software versions. Regularly update Minikube, Docker/Podman, and the system kernel.
- For the
nonedriver, enable cgroups v2 in kernel parameters in advance if you plan to use it. - Before starting Minikube, check the driver service status with
systemctl status <driver>. - Read the output of
minikube driver ls. It provides precise information about which drivers are available and why a specific one might be unavailable.