:: Re: [DNG] To docker or not to docke…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Alessandro Vesely
Date:  
À: dng
Sujet: Re: [DNG] To docker or not to docker?
On Wed 18/Dec/2024 18:56:34 +0100 Hector Gonzalez Jaime via Dng wrote:
>
> 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.



Ouch right, I forgot to run newgrp. But where would it have installed all the
python3 files if I had done so on the first run?


Thanks
Ale
--