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

sudo usermod -aG docker pi doesn't persist #20

Open
fcaraujo opened this issue Oct 3, 2020 · 2 comments
Open

sudo usermod -aG docker pi doesn't persist #20

fcaraujo opened this issue Oct 3, 2020 · 2 comments
Labels

Comments

@fcaraujo
Copy link

fcaraujo commented Oct 3, 2020

Hi Sakaki,

Firstly thanks for your awesome contribution and your time as well.

I just followed your tutorial here installing raspbian-nspawn-64 and docker.

So I noticed after run sudo usermod -aG docker pi I still get permission denied, even after a reboot/retry.
Would you have any suggestion?

Thanks!

pi@debian-buster-64:~ $ sudo usermod -aG docker pi
pi@debian-buster-64:~ $ docker info
Client:
 Debug Mode: false

Server:
ERROR: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/info: dial unix /var/run/docker.sock: connect: permission denied
errors pretty printing info
pi@debian-buster-64:~ $
@sakaki- sakaki- added the EOL label Oct 31, 2020
@sakaki-
Copy link
Owner

sakaki- commented Oct 31, 2020

31 Oct 2020: sadly, due to legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the Debian package is still in the official Raspbian repos); however, there will be no further updates to the underlying OS images etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

With sincere apologies, sakaki ><

@kj5wi
Copy link

kj5wi commented Mar 11, 2021

I have the same issue here. Looks like the problem resides in the way debian-buster-64 is created. As long as a reboot is not used, a simple logout/login within the container will get docker group into user pi. Ive read many docs, but am still looking for how user pi is set up when the deb container is reloaded.

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

No branches or pull requests

3 participants