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

Insufficient permission to access docker.sock #348

Open
pepawel opened this issue Dec 21, 2023 · 0 comments
Open

Insufficient permission to access docker.sock #348

pepawel opened this issue Dec 21, 2023 · 0 comments

Comments

@pepawel
Copy link

pepawel commented Dec 21, 2023

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.

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

No branches or pull requests

1 participant