-
Notifications
You must be signed in to change notification settings - Fork 285
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
Issue attaching VS code to a docker container #4893
Comments
Could you append the log when fails? ( |
Ahh, I see @chrmarti. I'm getting this:
I'm actually root on the server and docker is indeed running. Any thoughts?
The interesting thing is that I can run this exact same command without getting an error:
|
I was able to get this working. I had to open a folder on the remote server, and then attach VS code to a container. I guess the extension was trying to use docker locally until I connected to a remote folder. Is this a bug? The extension should know that if I'm connected via SSH, and the Docker extension can clearly pull up the containers/images on the remote SSH server, shouldn't "Attach VS Code" also understand that I'm trying to attach to a remote container? Instead, it's trying to run docker on my local system, which results in that error. I don't think I should have to open a folder on the remote SSH server for the Remote Containers extension to know that I'm trying to attach VS Code to a container running on the remote server. |
Hi @altjx I ran into the same issue. My log shows following:
VSCode : 1.55.2 What do you mean by |
@abidrahmank Try This is a duplicate of #4913. Continuing tracking there. |
Steps to Reproduce:
I haven't been able to reproduce this on my Ubuntu 20.04 server, so I'm wondering if this is actually something related to the OS. The error message indicates that this is likely caused by the extension, howeverr.
Here's another issue that seems to be related to mine, but theirs was closed since it didn't provide enough information
The text was updated successfully, but these errors were encountered: