Skip to content

Insufficient permission to access docker.sock #348

Open
@pepawel

Description

@pepawel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions