-
Notifications
You must be signed in to change notification settings - Fork 524
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
Failed to connect. Is Docker running? #4018
Comments
When you say you installed Docker on the VM, do you mean that you are using SSH remoting? |
I experience similar symptoms: "Failed to connect. Is Docker installed?" appears in he Containers, Images, Contexts and Networks panes of the extension.
According to the installation instructions docker group membership is required for the account created in the WSL/Ubuntu environment for accessing Docker. I validated this (and the above docker command would not execute either I guess), however I am wondering if the Windows account under which VSC is running may also have to be authorised. I did not deploy Docker Desktop and I don't intend to. Troubleshooting tips on https://github.com/microsoft/vscode-docker/wiki/Troubleshooting refer to a remote development scenario but in my case all layers are on the same Windows machine, although Docker runs in WSL/Ubuntu and VSC runs on the Windows 10 host on the same machine. From what I understand about WSL I assume I don't have to duplicate tooling across the Windows and the Linux/Ubuntu layer running in it. VSC Version: 1.80.2 (user setup) WSL version: 1.2.5.0
Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3 Am I missing anything? |
Running of the Docker commands in WSL is not currently supported, this is being tracked in #3803. If you use WSL remoting everything should work. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
On Ubuntu 18.04 I got this error with Docker extension installed.It shows both at containers and images "Failed to connect. Is Docker installed?" I already tried to get an older version of Docker (1.22.2) or to reinstall the vs code but i get the same error.
I need to mention that I installed the Docker also on the VM, not only the extension.
The text was updated successfully, but these errors were encountered: