-
Notifications
You must be signed in to change notification settings - Fork 520
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 Installed? #4410
Comments
This could be a case where a full system restart is required for permissions to fully propagate. Can you try that if you haven't already? |
Yes, I tried this already. |
When you open VSCode normally (non-sudo), do you launch it from the terminal or somewhere else? |
I launch it from the ubuntu apps normally. However this results in docker not being found. I got around this by launching in terminal with root access to find it could then see docker. |
This might be a snap issue. Can you try the workarounds in here and see if that works? |
You can remove CODE config in ~/.config and then relogin VSCODe (non-sudo), after that you can see docker extension icon appear in taskbar. Remember sync this setting to your account. This work for me, you can try it. Hope you can fix this problem soon. |
Encountered the exact same issue. Followed all the steps mentioned
Resolution: Device needs a full reboot for the changes to be reflected on VSCode. A logout is NOT sufficient. |
@k3nd3r9 any updates? |
Type: Bug
Visual Code fails to realize docker is installed.
I follow the post install instructions:
https://docs.docker.com/engine/install/linux-postinstall/
I can "docker run hello-world" without sudo from terminal.
If I open code with sudo, it is able to run the extension fine.
If I open code normally, it is unable to find the extension, but I can open the terminal and run "docker info" and it reports normally. docker can see images from terminal.
I have added my user to the "docker group"
Seems like a permissions issue.
Ubuntu version 24.04.1 LTS
Extension version: 1.29.3
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Linux x64 6.8.0-47-generic
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: