Skip to content
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

docker is not being added to groups ?? #204

Closed
ithinkido opened this issue Dec 20, 2020 · 7 comments · Fixed by #576
Closed

docker is not being added to groups ?? #204

ithinkido opened this issue Dec 20, 2020 · 7 comments · Fixed by #576

Comments

@ithinkido
Copy link

ithinkido commented Dec 20, 2020

After a fresh install of Raspbian as well as IOTstack I was greeted with this error
Error getting docker version. Received permission denied error
On a guess I added docker to groups with
sudo usermod -aG docker $USER
This seems to have solved the issue

@Slyke
Copy link
Collaborator

Slyke commented Dec 21, 2020

This is related to #205 investigating.

@Slyke
Copy link
Collaborator

Slyke commented Dec 21, 2020

Hey @ithinkido did this error occur after restarting?

@ithinkido
Copy link
Author

Yes, and i can confirm that docker was not being added to groups.

@Slyke
Copy link
Collaborator

Slyke commented Dec 22, 2020

I have a potential fix for this on the experimental branch. I want to test it out on a fresh RPi before merging to master in case it breaks anything.

@chris2286266
Copy link

After a fresh install of Raspbian as well as IOTstack I was greeted with this error
Error getting docker version. Received permission denied error
On a guess I added docker to groups with
sudo usermod -aG docker $USER

Actually the mentioned command does not add docker to groups, it adds the current user (e.g. pi) to group docker, which solves the issue.

@ithinkido
Copy link
Author

After a fresh install of Raspbian as well as IOTstack I was greeted with this error
Error getting docker version. Received permission denied error
On a guess I added docker to groups with
sudo usermod -aG docker $USER

Actually the mentioned command does not add docker to groups, it adds the current user (e.g. pi) to group docker, which solves the issue.

OK

@ukkopahis
Copy link

I'll assume the long inactivity indicates menu.sh now solves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants