Skip to content

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

@fcaraujo

Description

@fcaraujo

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:~ $

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions