:: Re: [DNG] To docker or not to docke…
Top Page
Delete this message
Reply to this message
Author: Hector Gonzalez Jaime
Date:  
To: dng
Subject: Re: [DNG] To docker or not to docker?

On 12/18/24 03:48, Alessandro Vesely via Dng wrote:
>
> I installed docker and tried to run it.  (I use -----begin---- and
> -----end----- markers for clarity.)
>
> -----begin-----
> ale@pcale:~$ docker run hello-world
> docker: permission denied while trying to connect to the Docker daemon
> socket at unix:///var/run/docker.sock: Post
> "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix
> /var/run/docker.sock: connect: permission denied.
> -----end-----


You don't need root permissions, you need to add your user to the
"docker" group, then start a fresh session and connect to the docker socket.

--
Hector Gonzalez
cacho@???