I’m trying to launch minikube via:
minikube start
but I’m getting the error:
Exiting due to DRV_DOCKER_NOT_RUNNING: Found docker, but the docker service isn't running. Try restarting the docker service.
It’s definitely installed and running via the command:
systemctl --user status docker-desktop
but shows the service cannot be found when I run the command without the user flag:
systemctl status docker-desktop
in addition, the following two commands hang:
docker info --format '{{.OSType}}'
and
docker version
but the following behave fine:
docker --version
and
docker compose version
All I did was follow the installation guide:
Follow the first step of setting up the apt repo (ran these commands):
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
downloaded the .deb file
and finally ran:
sudo apt-get update
sudo apt-get install ./docker-desktop-<version>-<arch>.deb
in the same directory as the .deb file
Lastly, I restarted the computer but the minikube error persists, any idea why?