DEV Community

prusso630
prusso630

Posted on

Docker extension has insufficient permissions...

Docker extension is showing insufficient permissions. Failed to connect to a docker running container and Failed to connect to docker.

I tried to run docker sudo and add my username to sudoers file and also create docker group from post build instructions for docker.

A bit of trouble still not sure why this might be?

Anyone know maybe how to get issue to resolve it?

Top comments (2)

Collapse
 
ajeetraina profile image
Ajeet Singh Raina • Edited

@prusso630 I can assist you on this. Can you let us know:

  • Which Docker Desktop(Linux, Mac or Win) are you using?
  • Which Extension are you referring?
  • Screenshot of Docker Extension from Docker Desktop Dashbord?

Help me with steps that followed.

Collapse
 
prusso630 profile image
prusso630

It would be the current version of the docker extension installed through Visual Studio Code's extension manager on Ubuntu jammy. So then I think what was wrong was I had a situation to refresh somehow the ubuntu environment and or restart for changes to take effect. I did get the added privileges from the docker post installation guide set up like that.... Thanks...