Reputation: 4485
I installed minikube and now I want to create my docker containers, but how do I run the docker commands? I tried the following from command prompt
But it does not recognize docker as a command.
Also I tried from PowerShell with the same result, docker not recognized.
I currently only have minikube installed on my workstation because I was given the impression from comments to a previous question that I did not need Docker Desktop (see Unable to connect to running docker containers (minikube docker daemon))
Upvotes: 2
Views: 1871
Reputation: 13878
In this SO question there is an answer that will show you 3 ways how to make Minikube and Docker work on Windows:
Scenarios are like this:
1) Use Docker, and minikube with Hyper-V (you will find instruction in an answer above) Enable Hyper-V, install Docker, use minikube with arguments
minikube start --vm-driver hyperv --hyperv-virtual-switch "<created Hyper-V switch name>"
In the same time you will be able to interact with Docker in normal way. Use kubectl/minikube commands for your Kubernetes cluster and Docker commands for Docker. 2) Use VirtualBox for Kubernetes and Docker toolbox for Dockerminikube start --vm-driver=virtualbox
3) Use Docker for Windows and Kubernetes in Docker
I believe this will solve your issue. Please, let me know if that helped.
Upvotes: 1