-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update kubernetes blog post to use docker driver instead of none #8568
Comments
If you are using the none driver, then you should make that docker is installed. https://minikube.sigs.k8s.io/docs/drivers/none/#requirements |
I'm following this blog to get Minikube up and running on Windows + WSL. Now my understanding is that when using Docker for Windows with WSL, WSL uses the docker backend installed on Windows and you do not need to install dokcer on Linux. But when I try to run Minikube I get
Detailed output:
|
You need to install docker on Ubuntu. sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
# if prompted about grub during install, select all drives and then select yes when the message pops up again
sudo docker run hello-world |
Hey @shayanjalil the
if you have docker installed. |
@Umar-Basharat103 similarly, I'd recommend using docker on ubuntu as well as it's more reliable. Do you have docker installed? If not, you'll need to install it for the |
@priyawadhwa in my comment I mentioned that I'm following this blog to get minikube up and running inside a Linux environment using WSL on Windows. This blog doesn't ask to install docker in Linux. It says that WSL will use the Windows installation for docker. |
Im trying start minikube by this article WSL+Docker: Kubernetes on the Windows Desktop and get same error
also can see
|
You are using the |
@prasadkatti docker installed only on host machine. On WSL2 machine, for example |
I have the same problem when I try install minikube in (WSL+Docker + Kubernetes on the Windows Desktop) Installation instructions: Error message: E0830 19:58:47.631488 876 exit.go:76] &{ID:NONE_DOCKER_EXIT_5 Err:sudo systemctl start docker: exit status 5 stderr: stderr: π‘ Suggestion: Ensure that Docker is installed and healthy: Run 'sudo systemctl start docker' and 'journalctl -u docker'. Alternatively, select another value for --driver When comand with systemctl Apparently the problem is how the "systemctl" command is mapping the docker service. docker is working normally. |
Same issue here. I'm following this blog . I have Docker for windows with WSL Integration enabled. With this, there is no need to install docker locally in the WSL. I'm able to use docker in my Ubuntu WSL straightaway after enabling it in Docker for windows. |
I have been following the same blog post, even did a brand new ubuntu instance with wsl2, not the store one, same problem. Even tried to use minikube v1.10.1 which is around the same period when the blog post was done. Then tried to run it with root, still no luck. Hopefully Nuno can come to us on how he got it to work with Docker Desktop for windows. Please note that we are trying to follow https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-on-the-windows-desktop/, this article is very specific and it does not require the docker driver to be installed on the ubuntu distro. I have tried to follow the exact blog post, same Ubuntu, Docker Desktop and minikube versions, it just does not work ... |
Has anyone found a solution to this so far? I'm still stuck π |
/assign |
Basically Article is bit old. there are reference to each package links in which i have installed the latest one. then minukube installation step should be follow from following article https://minikube.sigs.k8s.io/docs/start/ instead of the one given in https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-on-the-windows-desktop/ |
I suggest this blog post https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-on-the-windows-desktop/#minikube-updating-the-host to be updated to use docker driver, |
if anyone likes to take this issue, please reffer to this issue on the kuberetnes website |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Using the "none" driver has been the standard in katacoda for years, and works fine - unless you want to use multinode. The original warnings (above) are just because WSL didn't support systemd at the time, and the code looked for it (wrong). You will need to install Docker anyway, as the cluster container runtime, but that is something of a different story. And currently you also need to install conntrack/crictl/cni-plugins/cri-dockerd, but that might be improved soon. |
~$ sudo minikube start
π minikube v1.11.0 on Ubuntu 18.04
β¨ Using the none driver based on existing profile
π Starting control plane node minikube in cluster minikube
π Restarting existing none bare metal machine for "minikube" ...
βΉοΈ OS release is Ubuntu 18.04.4 LTS
β [NONE_DOCKER_EXIT_5] Failed to enable container runtime sudo systemctl start docker: exit status 5
stdout:
stderr:
Failed to start docker.service: Unit docker.service not found.
π‘ Suggestion: Ensure that Docker is installed and healthy: Run 'sudo systemctl start docker' and 'journalctl -u docker'. Alternatively, select another value for --driver
βοΈ Related issue: #5532
π Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/none
The text was updated successfully, but these errors were encountered: