NethermindEth / sedge

A one-click setup tool for PoS network/chain validators and nodes.
https://docs.sedge.nethermind.io
Apache License 2.0
157 stars 46 forks source link

Insufficient permission to access docker.sock #348

Open pepawel opened 10 months ago

pepawel commented 10 months ago

Describe the bug Sedge exits with an error because of insufficient permissions when accessing /var/run/docker.sock socket.

To Reproduce

  1. Run sedge cli and follow the wizard on Ubuntu 22.04.
  2. Observe sedge exiting with an error regarding /var/run/docker.sock.

Expected behavior I expect sedge to connect to docker without an issue.

Desktop (please complete the following information):

Additional context The issue is caused by the current user not being a member of docker group. To fix it, before running sedge cli run:

sudo adduser `whoami` docker

Make sure to log out and log back in, because group memberships take effect on fresh login.