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

Containers WSL2: Command failed: docker info #2876

Closed
aeschli opened this issue Apr 28, 2020 · 3 comments
Closed

Containers WSL2: Command failed: docker info #2876

aeschli opened this issue Apr 28, 2020 · 3 comments
Assignees
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster

Comments

@aeschli
Copy link
Contributor

aeschli commented Apr 28, 2020

Testing #2849

  • have an Alpine WSL2 distro that is not the default distro
  • in the Docker Desktop settings the distro is enabled for integration
  • reopening a folder from that distro fails as docker can not be found
@chrmarti chrmarti added the containers Issue in vscode-remote containers label Apr 29, 2020
@chrmarti
Copy link
Contributor

Is there a docker executable in the distro when you check on the command line? Maybe the WSL2 integration of Docker Desktop malfunctioned? (Related: #2868)

@chrmarti chrmarti added the info-needed Issue requires more information from poster label Apr 29, 2020
@aeschli
Copy link
Contributor Author

aeschli commented Apr 29, 2020

No, docker is not on the path of the Alpine distro. But I have Alpine checked in the Docker Desktop settings.
So yes, this is for sure a Docker Desktop issue. Either the integration failed, or it has to do with Alpine.
I think what needs to be done on our side is a better error dialog with a link to help (how to enable the integration, how to debug it, known limitations (Alpine?), how to file issues against Docker Desktop).

@chrmarti
Copy link
Contributor

Fixed with #2868 then. That checks for docker on the WSL side and shows an error dialog with a link to an article about the WSL2 integration tech preview on docker.com. (The same linked from the test item.)

@chrmarti chrmarti added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 30, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants