Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Even though my user is on docker group and I can launch docker without sudo, and I'm running idea.sh from my user, whenever I try to connect to docker from within Intellij Idea docker plugin, I get

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

I'm trying the Unix socket method. I already tried multiple restarts and logout.

I'm on Ubuntu 20.04 and Intellijd Idea 2020.3

like image 687
Guerlando OCs Avatar asked Sep 11 '25 13:09

Guerlando OCs


1 Answers

Toggling (off and on) "Allow the default Docker socket to be used" checkbox with "Apply & restart" (2 times) in Docker Desktop helped me

docker desctop

like image 100
kurama Avatar answered Sep 14 '25 05:09

kurama