Ankit
Ankit

Reputation: 55

docker-machine command not found on windows 10

I have recently installed docker machine using using git bash in windows 10 from following this url: https://github.com/docker/machine/releases/tag/v0.16.2

And when I'm running "docker-machine version" command on git bash, it is working fine and giving current version of docker machine, but when I'm running same command on command prompt, it is not recognizing the command

Upvotes: 2

Views: 8202

Answers (1)

Son Nguyen
Son Nguyen

Reputation: 1482

Git bash uses a Linux environment isolated from Windows, so you can't run Linux programs from Windows. You need to use Docker solely within Git bash.

For this purpose (using Linux for development under Windows), I recommend you to use WSL instead of Git bash which is meant for Git use only.

If you are more familiar with Windows, you can develop and run Docker apps locally on Windows without Linux, by using either Minikube, or Docker Desktop for Windows

Upvotes: 1

Related Questions