helpers
helpers copied to clipboard
Update intern.set_up_development_on_laptop.how_to_guide.md
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:
-
Add your user to the docker group:
-
Log out and log back in (or reboot)
-
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).