Skip to content
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

Need workaround(s) for docker exe missing from path issue (MacOS) #2578

Closed
karolz-ms opened this issue Dec 22, 2020 · 3 comments · Fixed by #2619
Closed

Need workaround(s) for docker exe missing from path issue (MacOS) #2578

karolz-ms opened this issue Dec 22, 2020 · 3 comments · Fixed by #2619

Comments

@karolz-ms
Copy link
Contributor

Many customers are suffering from the bug in MacOS that makes the docker executable folder disappear from path, for example: #2254 #2574 #2577

Docker seems to have hard time finding the root cause docker-archive/compose-cli#754

Consider

  • following @ke6jjj suggestion and add a setting that contains full path to docker executable (the extension user would set it as a workaround)
  • when "docker not found" error happens, probe the default Docker Desktop for Mac installation path and use the executable there if it exists
  • (other ideas welcome)
@karolz-ms
Copy link
Contributor Author

Another idea: use terminal to figure out where the docker executable is (VS Code terminal seems to be unaffected by the incomplete path issue most of the time)

@bwateratmsft
Copy link
Collaborator

Another possibility: look in PATH for /usr/bin/local (which I'd expect to ALWAYS be there). If it's not there, append it.

@bwateratmsft
Copy link
Collaborator

This is now released in Docker extension version 1.10.0.

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants