fire_water
fire_water

Reputation: 1449

VsCode Dev Containers + Rootless Docker = Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Wondering if anyone has been able to overcome this error message in Visual Studio Code while using the Dev Containers extension and Rootless Docker:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Exact output from Visual Studio Code:

enter image description here

Environment:

What I have tried:

enter image description here

Thanks for your help.

Upvotes: 4

Views: 1052

Answers (1)

Rumengol
Rumengol

Reputation: 11

Not sure if it will fix your problem, but I had a similar issue. What resolved it was the following (not sure which step actually fixed the issue):

  • Upgrading vscode from 1.77.3 to 1.85.1 (probably not related considering your version)
  • Reloading some extensions especially Remote - SSH
  • Updating all packages sudo apt update && sudo apt upgrade

Hope this helps.

Upvotes: 1

Related Questions