Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

docker-machine works in git bash but not in powershell #4791

Closed
oke-aditya opened this issue Apr 10, 2020 · 2 comments
Closed

docker-machine works in git bash but not in powershell #4791

oke-aditya opened this issue Apr 10, 2020 · 2 comments

Comments

@oke-aditya
Copy link

oke-aditya commented Apr 10, 2020

OS used:- Windows 10 Pro
Hypervisor:- Hyper-V (Not virtual box)
Docker installation: - Docker for Windows (not Docker Desktop)

$ if [[ ! -d "$HOME/bin" ]]; then mkdir -p "$HOME/bin"; fi && \ curl -L https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" && \ chmod +x "$HOME/bin/docker-machine.exe"

  • Now docker machine seems to be running fine in git bash

image

@oke-aditya
Copy link
Author

oke-aditya commented Apr 10, 2020

Now docker-machine runs in the powershell (both versions).
The problem might be because.

  • I had no docker-machine.exe file created after the above process.
  • I still wonder how git bash picked it up.

@yurekesley
Copy link

The best way in to use chocolatey.org, choco install docker-machine. It will insltall all you need.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants