sedge icon indicating copy to clipboard operation
sedge copied to clipboard

Insufficient permission to access docker.sock

Open pepawel opened this issue 1 year ago • 0 comments

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):

  • OS: Ubuntu 22.04.3 LTS (server)
  • Sedge version: 1.3.0

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.

pepawel avatar Dec 21 '23 14:12 pepawel