helpers icon indicating copy to clipboard operation
helpers copied to clipboard

Update intern.set_up_development_on_laptop.how_to_guide.md

Open Shr3yash opened this issue 8 months ago • 0 comments

Error: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

Root Cause: Docker requires root-equivalent privileges. By default, only the root user or members of the docker group have access to the Docker socket (/var/run/docker.sock). New users are not automatically added to the docker group.

Affected Workflow: Running Docker commands (e.g., docker run, docker compose) as a non-root user.

Quick Fix:

  1. Add your user to the docker group:

  2. Log out and log back in (or reboot)

  3. Verify access

Why?

Docker requires root-equivalent privileges. Adding your user to the docker group grants persistent access to the Docker socket (/var/run/docker.sock).

Shr3yash avatar Mar 30 '25 20:03 Shr3yash