Comment # 1 on bug 1224066 from Michal Vyskocil
> distrobox list
permission denied while trying to connect to the Docker daemon socket at
unix:///var/run/docker.sock: Get
"http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/json?all=1": dial unix
/var/run/docker.sock: connect: permission denied


Docker socket in openSUSE has a following permissions

$ stat /run/docker.sock 
  File: /run/docker.sock
  Size: 0               Blocks: 0          IO Block: 4096   socket
Device: 0,26    Inode: 1914        Links: 1
Access: (0666/srw-rw-rw-)  Uid: (    0/    root)   Gid: (  471/  docker)

So it can be accessed by users in a docker group. You can check the list of a
groups via id command or userctl user $login.


You are receiving this mail because: