Docker Community Forums

Share and learn in the Docker community.

I would like t edit docker.socket file and make it for a partcuilar user


#1

Hi

I would like t edit docker.socket file and make it for a partcuilar user.
example:
[Socket]
ListenStream=/var/run/docker.sock
SocketMode=0660
SoketUser=pi
SocketGroup=docker

so SocketUser will be equal pi instead of root because I would like to add the subject in the casbin authorisation plugin model.
but I got error message from the socket.

many thanks