sedge
sedge copied to clipboard
Insufficient permission to access docker.sock
Describe the bug
Sedge exits with an error because of insufficient permissions when accessing /var/run/docker.sock
socket.
To Reproduce
- Run
sedge cli
and follow the wizard on Ubuntu 22.04. - 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.