Skip to content

Update README.md with instructions to add user to docker group #630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

tylermilner
Copy link
Contributor

When setting up my Internet Pi on my Raspberry Pi 5, I encountered the permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock error described in #620 when running ansible-playbook main.yml. Following the suggestion to add the Raspberry Pi user to the docker user group (via sudo usermod -aG docker $USER) fixed the issue and allowed ansible-playbook main.yml to run successfully.

This adds a note about this fix to the installation instructions in README.md. It might also be better to just add this as an explicit step in the setup process if everyone will need to be doing this now.

Add note about adding user to `docker` user group to fix permission denied error when running playbook based on discussion in geerlingguy#620.
Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Jun 16, 2025
@tylermilner
Copy link
Contributor Author

tylermilner commented Jul 15, 2025

Looks like others have recently encountered the issue with the RPi user not being part of the docker user group in #637 and #640. Maybe it would be good to just make that part of the standard setup process. Otherwise, people will likely continue to encounter this problem and create additional GitHub issues.

@geerlingguy
Copy link
Owner

The logout/login or reboot should resolve that in most cases, but I'm fine adding a little extra since that way people can search the README and find it there.

@geerlingguy geerlingguy merged commit 4041005 into geerlingguy:master Jul 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants