Rootless mode: Cannot connect to the Docker daemon at tcp://docker:2375

OP Here, the solution seems to be

docker run -it -v /run/user/1000/docker.sock:/var/run/docker.sock docker sh

This is because , the docker inside the docker image is not rootless. So, their socket is in /var/run/docker.sock.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top