-
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
Unable to evaluate output of docker-env
: Command 'docker' not found
#4089
Comments
I've confirmed docker is a requirement to run minikube. So it is a documentation issue. |
You need a container runtime, there are several to choose from. Docker is the default. |
Note that what we document is installing As a workaround you can use |
I think there should be something like: " Install a container runtimeDocker is the most common choice, but minikube also works with containerd. CRI-O and rkt. On this page even before install I didn't find this documentation on github to make a pull request. |
Well, there is a runtime (or three) on the VM - it just doesn't come with a local runtime ? What could be needed, however, is a better way to build new images, than doing it directly on the control plane node. The current approach is more of a hack, and I guess it could mention that you need to install docker: (Mirrored at: https://kubernetes.io/docs/setup/minikube/#use-local-images-by-re-using-the-docker-daemon) As long as we recommend that approach, we should add a link to: https://docs.docker.com/install/ |
If you want to do other interaction with the CRI directly, the recommend approach is now $ minikube ssh -- sudo crictl ps That will work for all of the runtimes, including Docker. But it doesn't have a local/remote client/server. It would perhaps be interesting to see if there are any more uses of a local docker, not covered by crictl ? |
As someone who does not have docker installed, I can definitely say docker is not a requirement to run minikube. It is however required for the As afbjorklund mentions, we do however include it within the minikube VM. |
docker-env
: Command 'docker' not found
Closing, as minikube doesn't actually invoke docker. |
@tstromberg minikube doesn't invoke docker, but it's documentation (https://kubernetes.io/docs/tasks/tools/install-minikube/) is misleading with this information without saying installing docker on the host machine is a prerequisite to run those commands... |
Documenting it on the |
Fresh installed minikube on Ubuntu 18.10:
minikube start
😄 minikube v1.0.0 on linux (amd64)
🤹 Downloading Kubernetes v1.14.0 images in the background ...
💡 Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
🏃 Re-using the currently running virtualbox VM for "minikube" ...
⌛ Waiting for SSH access ...
📶 "minikube" IP address is 192.168.99.100
🐳 Configuring Docker as the container runtime ...
🐳 Version of container runtime is 18.06.2-ce
⌛ Waiting for image downloads to complete ...
✨ Preparing Kubernetes environment ...
🚜 Pulling images required by Kubernetes v1.14.0 ...
🔄 Relaunching Kubernetes v1.14.0 using kubeadm ...
⌛ Waiting for pods: apiserver proxy etcd scheduler controller dns
📯 Updating kube-proxy configuration ...
🤔 Verifying component health .....
💗 kubectl is now configured to use "minikube"
🏄 Done! Thank you for using minikube!
I get in respose:
The text was updated successfully, but these errors were encountered: