Docker permission denied

Hi Folks, I just installed Bluefin yesterday and overall I’m new to the immutable Linuxes. I pulled the source code for my devcontainer repo and opened the it with Visual Studio Code. It opens without devcontainers. When I try to open it within devcontainer, vscode complains that current user doesn’t have permission to start docker and that I should try to add it to “docker” group.

I also tried running docker ps with command line and it seems the docker isn’t working there as well, I get:

❯ docker ps
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.46/containers/json": dial unix /var/run/docker.sock: connect: permission denied

Did I mess something up or should I do something more to set it up? I thought it’s coming preinstalled on Bluefin-DX. Any ideas how to resolve that, appreciated.

1 Like

It’s easy to miss this in the docs, ujust dx-group and log out and back in to put your user into the right groups.

2 Likes

It’s working!! Thank you so much :partying_face:

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.